I am facing a serious problem. I have an application having an Monthly Payment Form, this form has two parts. If user fills first part some values are generated for second part and remaining part is filld by the user. Some of generated values are stored
in session also.
User is opening this form in multiple tab of a browser, and if he is working concurrently on both the tab my session values are being overwritten. For example if he fills first part in one tab and then swith to second tab and fills first part of second
tab(values in session will be overritten of first tab) then he saves to first tab's form, I am gettingt wrong values.
How to prevent user to open same link in multiple tab in same browser?
I think we cannot stop user from opening a page in multiple tabs. But, we can do something like this. Create a GUID and store it in session and viewstate when page requested for the first time. Then for consequent post operation, check whether this session
and viewstate values are same or not. If it not same, show user your custom error message.
mishra.bhupe...
Participant
1594 Points
376 Posts
Restrict User to not to open same link on browser.
Dec 27, 2012 10:29 AM|LINK
Hi.
I am facing a serious problem. I have an application having an Monthly Payment Form, this form has two parts. If user fills first part some values are generated for second part and remaining part is filld by the user. Some of generated values are stored in session also.
User is opening this form in multiple tab of a browser, and if he is working concurrently on both the tab my session values are being overwritten. For example if he fills first part in one tab and then swith to second tab and fills first part of second tab(values in session will be overritten of first tab) then he saves to first tab's form, I am gettingt wrong values.
How to prevent user to open same link in multiple tab in same browser?
Thanks.
sachintek
Member
570 Points
141 Posts
Re: Restrict User to not to open same link on browser.
Dec 27, 2012 10:38 AM|LINK
u can disable tab, once user completed entry in particular tab.
mani2009it
Member
207 Points
82 Posts
Re: Restrict User to not to open same link on browser.
Dec 28, 2012 05:01 AM|LINK
Hi,
I think we cannot stop user from opening a page in multiple tabs. But, we can do something like this. Create a GUID and store it in session and viewstate when page requested for the first time. Then for consequent post operation, check whether this session and viewstate values are same or not. If it not same, show user your custom error message.
or try this below link.
https://sites.google.com/site/sarittechworld/track-client-windows
Thanks.