Click here to Skip to main content
11,629,285 members (67,076 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: login ASP.NET4.0
I am using windows/Forms authentication in an application.If an user has already logged in from one system then from the same system if anyone is trying to access the login.aspx(before the first users session is expired) then the page should be redirected to the first users main page.Is there any simple way/ configuration to achieve this?
Posted 21-May-12 21:38pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

ASP.NET uses non persistent cookies to track the session information. If we configure the session management to become cookie-less then the state information is actually put in the URL.

The above fact would mean that the users requests coming from different browsers of same computer will not be able to use the existing session info i.e. user logged in details so if you need to do this then perhaps you will have to use custom persistent cookies.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS

Advertise | Privacy | Mobile
Web03 | 2.8.150723.1 | Last Updated 22 May 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100