|
<< Click to Display Table of Contents >> Navigation: Telegram > 2019 > 07 > 22 > Telegram_2019-07-22T16 |
2019-07-22T16:47:30
You shouldn't be doing this
2019-07-22T16:48:39
The application is out of sync. You have an active page in one browser tab and another active page in another browser tab. But on server side there is only one active form. Not 2
2019-07-22T16:49:42
There is a back button evern which is triggered every time the application is out of sync and allows you to take any necessary action
2019-07-22T16:50:13
it is named OnBackButton because this is the most likely cause of applications going out of sync
2019-07-22T16:51:14
the fact that it was \kind of\ working before doesn't mean that your application is doing what it is supposed to do.
What happens if instead of a callback you have a FULL post back with a purchase ?
2019-07-22T16:52:04
Ok, Alexandre, I know this. But customers do this. They copy\\paste the url...
2019-07-22T16:52:22
why?
2019-07-22T16:53:00
disable cookies an allow them to have 2 independent sessions
2019-07-22T16:53:03
that's how it should be done
2019-07-22T16:53:18
you can do this now, with IW 15.1. You couldn't do it before
2019-07-22T16:53:41
unless you had session ID in the URL which presents other issues
2019-07-22T16:54:02
ok, how? (I take this opportunity...)
2019-07-22T16:54:24
right-click on server controller
2019-07-22T16:54:41
select the first option on the context menu
2019-07-22T16:55:02
on the first tab. Check the first check box, uncheck the second. You are done
2019-07-22T16:55:36
Or... if you don't want to change anything:
2019-07-22T16:55:50
Find event OnBackButton in your server controller
2019-07-22T16:56:10
put anything in it... just to make sure that it is called
2019-07-22T16:56:16
then try to recreate that issue again
2019-07-22T16:57:21
you will see that the session which is out of sync will hit that breakpoint when there is an incoming request
2019-07-22T16:57:34
Why OnBackButton , sorry?
2019-07-22T16:57:59
it is named OnBackButton because this is the most likely cause of applications going out of sync