Telegram_2019-07-22T16

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2019 > 07 > 22 >

Telegram_2019-07-22T16

Telegram link

 

2019-07-22T16:47:30

 

You shouldn't be doing this

 


 

Telegram link

 

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

 


 

Telegram link

 

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

 


 

Telegram link

 

2019-07-22T16:50:13

 

it is named OnBackButton because this is the most likely cause of applications going out of sync

 


 

Telegram link

 

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 ?

 


 

Telegram link

 

2019-07-22T16:52:04

 

Ok, Alexandre, I know this. But customers do this. They copy\\paste the url...

 


 

Telegram link

 

2019-07-22T16:52:22

 

why?

 


 

Telegram link

 

2019-07-22T16:53:00

 

disable cookies an allow them to have 2 independent sessions

 


 

Telegram link

 

2019-07-22T16:53:03

 

that's how it should be done

 


 

Telegram link

 

2019-07-22T16:53:18

 

you can do this now, with IW 15.1. You couldn't do it before

 


 

Telegram link

 

2019-07-22T16:53:41

 

unless you had session ID in the URL which presents other issues

 


 

Telegram link

 

2019-07-22T16:54:02

 

ok, how? (I take this opportunity...)

 


 

Telegram link

 

2019-07-22T16:54:24

 

right-click on server controller

 


 

Telegram link

 

2019-07-22T16:54:41

 

select the first option on the context menu

 


 

Telegram link

 

2019-07-22T16:55:02

 

on the first tab. Check the first check box, uncheck the second. You are done

 


 

Telegram link

 

2019-07-22T16:55:36

 

Or... if you don't want to change anything:

 


 

Telegram link

 

2019-07-22T16:55:50

 

Find event OnBackButton in your server controller

 


 

Telegram link

 

2019-07-22T16:56:10

 

put anything in it... just to make sure that it is called

 


 

Telegram link

 

2019-07-22T16:56:16

 

then try to recreate that issue again

 


 

Telegram link

 

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

 


 

Telegram link

 

2019-07-22T16:57:34

 

Why OnBackButton , sorry?

 


 

Telegram link

 

2019-07-22T16:57:59

 

it is named OnBackButton because this is the most likely cause of applications going out of sync