Click here to Skip to main content
15,896,338 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have declare a Session Name Session["EmployeeID"].

There are two user login the system

User1 assign value Session["EmployeeID"]=001
from different PC
user2 assign Session["EmployeeID"]=002

if user1 assign the value of Session["EmployeeID"]
say empID=Session["EmployeeID"].ToString();

What he return 002 or 001

and if user1 destroy the Session Is user2 get his valu from Session 002 ?
Posted
Updated 6-Jun-13 0:47am
v3

1 solution

Hi Md. Mahfujul

It return 002

The 1st session(session[employeeid]=001) not destroy it override the value from 001 to 002. every session destroy only after 20mins or manually give the destroy statement.
 
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