Click here to Skip to main content
15,888,984 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on asp.net 3.5 website and I am creating Session for user details when I am login with a single user the site in working ok but when we are login with two or more defferent user at two or more different PC then all old user session information is replaces by newly login user session data. I am using Inproc session.

Please help me.how to resolve this problem

Thanks
Naveen Upreti
Posted
Comments
db7uk 22-Jun-12 6:49am    
This should not happen. Is your site deployed to a server? IIS version? Are you using the membership provider for login credentials?
Agustee 22-Jun-12 8:31am    
when creating the session id get the ip address of the pc too so it may not happen.

1 solution

There should be some problem with your code, this cannot happen by default, In-Proc, if you are using make sure your application runs in seperate Application Pool, it will work fine
 
Share this answer
 
Comments
Naveen Upreti 23-Jun-12 3:28am    
I am using In Proc and I am storing connection string in Session not through webconfig, but I have checked it in Trace mode it is replacing old session id with new and all session variable data has been changed to new data.

Please help me.how to resolve this problem

Thanks,
Naveen

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