Click here to Skip to main content
12,942,930 members (59,767 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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
Top Experts
Last 24hrsThis month
OriginalGriff 4,633
CHill60 2,880
Maciej Los 2,268
Jochen Arndt 1,900
ppolymorphe 1,755

Advertise | Privacy | Mobile
Web01 | 2.8.170518.1 | Last Updated 22 May 2012
Copyright © CodeProject, 1999-2017
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