We have web application, in that we using session variable to store username,userid when login page and passing to other pages ,What happen in my web, i showed at top "Welcome Username in label in each page , so in each page load i use session("username").ToString value assign to that label, if 10 user login at a same time each user getting their name , then any one logout and login again, what happen other all users just go to other page will get session of username at top as which user is recently logged out and login again username.
How possible ? still other user have their own name in session variable but seeing recently user login name ? p.net
What I have tried:
I put log entry in page load with ip and session values store in log file, i call each page in button click event in server side, what happen it will not hit server side code,but redirect to correct page, first time only hit page load code in server side, then after that never hit.
Browser anything store cache or cookies ?
Pls reply asap, Thanks