Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 13, 2012 04:32 AM by usman400
Dec 13, 2012 03:49 AM|LINK
I am using asp.net membership in my application and I have to reuse the session already created for that logged in user.
Means if an user logged into the application and open same application in new tab then user should be logged in autometically without re-enter user credentials.
Dec 13, 2012 04:32 AM|LINK
So it means you must first store user logged in status inside session
So do it write after successful login, store user name and (possibly) user type in session, then
on Page_Loag event of every page in your application you must write something like:
if( Session["varUserName"].ToString() == null)
// redirect to Login page
// Welcome user by first checking user name and use type