RadhaKrishnaKiJaya
asked on
Manage the sesson
Hi Experts,
I am testing my project in multiple computers and found a serious problem.
In Machine 1
I log in as an Admin. Then In the page I have to select Customer, location and Room. Then I click OK to go to a different page. (Sesson Admin='Y')
Then in Machine 2, I log in as a user. select Customer, location and Room. Then I click OK to go to a different page (Sesson Admin='N')
When I come back machine 1 , where I logged in as Admin='Y' before, it changes it to Admin='N' and all the selection (Customer, location and Room) has changed to that of machine 2.
What should I do. Please help.
Thanks in advance.
I am testing my project in multiple computers and found a serious problem.
In Machine 1
I log in as an Admin. Then In the page I have to select Customer, location and Room. Then I click OK to go to a different page. (Sesson Admin='Y')
Then in Machine 2, I log in as a user. select Customer, location and Room. Then I click OK to go to a different page (Sesson Admin='N')
When I come back machine 1 , where I logged in as Admin='Y' before, it changes it to Admin='N' and all the selection (Customer, location and Room) has changed to that of machine 2.
What should I do. Please help.
Thanks in advance.
ASKER
Thanks for your reply. Actually When I enter some data as admin and enter some data as user, they all get mixed up when two persons are using at the same time.
Would you like to take a look at my web site? May be you can tell me what could be the reason.
Page1.txt
Would you like to take a look at my web site? May be you can tell me what could be the reason.
Page1.txt
I dont see any strange code here...
how is web.config setup for the session management?
how is web.config setup for the session management?
ASKER
Just this much
<sessionState mode="InProc" cookieless="false" timeout="30"/>
<sessionState mode="InProc" cookieless="false" timeout="30"/>
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks a lot.
each session is different...
even on same computer, if you connect to same site with chrome + IE, you can use it separately...
are you sure you are using Session variables and not application variables?
post some code that shows how do you set and use them...