Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
We have developed a data entry application which contains text boxes drop down lists with save option.Through out application session variables are used to save the data in a format of object and it validates while post backs of drop down lists.

Problem: Users are able to enter the data and able to save. Users are opt for open the saved user details and trying to modify. User1 details are opened in window1, User2 details are opened in window2 and tried to modify the details simultaneously and opt for saving. while saving the user2 details , the system is taking user1 details. It clearly explains that session data is sharing between two windows or tabs.

We want to store the user details to specific users and maintain the session state unique to specific user.

Appreciate for any solutions to solve the above scenario.
Posted

1 solution

This is an issue of the browser. Each browser treats new tabs and windows differently. For example, in IE you can open Task Manager and open tabs and windows and watch how many instances of iexplore.exe there are. Whatever tabs are managed by the same iexplore.exe process will have the same Session.

The best way to test is to use a single tab but different browsers, or use different machines. It is not a code issue.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900