on-internet
← Community

how to handle session in mutliple tabs in a browser in c#

Stack Overflow ·

I am using asp.net C# and am unable to manage sessions per multiple tabs. The scenario for my website is: the user logs in, selects a job, and then applies for that job, and when the user applies, an entry is added to the database against that request. It will store the selected job ID and email ID of that user. The problem happens when I open the login page in a browser in 2 different tabs. The entry data gets messed up. For example, user A selected job 1, and user B selected job 2. When I press the apply button from user B, his selected job and user A's email ID are entered into the database

Comments

Sign in or sign up to comment and upvote.

No comments yet.