When i login to my application from one users credential, it gets logined to the application with another user's credential and shows Welcome Another user's name.This issue is occuring on production server whereas in development server the code works fine.
I tried to look into the issue, most the places I am using session and abandoning the session on logout's click,whereas I have not used cache object.
We have used ADO.NET entity framework 4.0 with WCF service.
Can anybody suggest the possible scenarios when session can conflict.
I have used Forms authentication.This issue occurs for different browsers, but mostly in Mozilla firefox.Different users are loggined from different machines.
For example: User A is loggon onmachine A and User B is loggon on Machine B.The User A, when loggined see Welcome user B.
Rashmita Sah...
Member
8 Points
7 Posts
Session Conflicts between different logined users
Jan 17, 2012 11:04 AM|LINK
Hi,
When i login to my application from one users credential, it gets logined to the application with another user's credential and shows Welcome Another user's name.This issue is occuring on production server whereas in development server the code works fine.
I tried to look into the issue, most the places I am using session and abandoning the session on logout's click,whereas I have not used cache object.
We have used ADO.NET entity framework 4.0 with WCF service.
Can anybody suggest the possible scenarios when session can conflict.
Thanks,
Rashmita.
sreejukg
All-Star
27509 Points
4097 Posts
Re: Session Conflicts between different logined users
Jan 17, 2012 11:08 AM|LINK
You need to check the application logic. Is it doing everything correct. For login scenarios use forms authentication, it is easy and secured.
refer this
http://support.microsoft.com/kb/301240
My Blog
nobdy
Contributor
5744 Points
1036 Posts
Re: Session Conflicts between different logined users
Jan 17, 2012 11:10 AM|LINK
I dont think Session conflict causing that. Is it taking place in same browser of on different browsers too?
You can try to stop caching of the page you redirect after login.
<div id="-chrome-auto-translate-plugin-dialog" style="opacity: 1 !important; background-image: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: transparent !important; position: absolute !important; top: 0px; left: 0px; overflow-x: visible !important; overflow-y: visible !important; z-index: 999999 !important; text-align: left !important; display: none; background-position: initial initial !important; background-repeat: initial initial !important; padding: 0px !important; margin: 0px !important;"> <div style="max-width: 300px !important; color: #fafafa !important; opacity: 0.8 !important; border-color: #000000 !important; border-width: 0px !important; -webkit-border-radius: 10px !important; background-color: #363636 !important; font-size: 16px !important; padding: 8px !important; overflow: visible !important; background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0%, #000), color-stop(50%, #363636), color-stop(100%, #000)); z-index: 999999 !important; text-align: left !important;"> <div class="translate"></div> <div class="additional"></div> </div>My Blog | My Website
Rashmita Sah...
Member
8 Points
7 Posts
Re: Session Conflicts between different logined users
Jan 17, 2012 11:29 AM|LINK
I have used Forms authentication.This issue occurs for different browsers, but mostly in Mozilla firefox.Different users are loggined from different machines.
For example: User A is loggon onmachine A and User B is loggon on Machine B.The User A, when loggined see Welcome user B.