asp.net - if the user is already logged in or not? -
I want to know how I can apply the scenario "if the user is already logged in or not?" That is, I have an app that initially redirects the URL to login.aspx and then Home. Redirects to Espacks. Here I am showing a message like "msgstr" name. Now if the user does not log out and close the browser and the next visit to the site should be directed directly to Home.spacks. How to implement it. And it is possible that in VS 2008 (the browser is shutting down and again The application is running)? Tell me if people want more information.
More information to be asked by Eon:
The login mechanism is quite straightforward FWD. I have a page that registers the user (Value DB is going.) I have simple text Box is used, there is no login control. The login page matches the value of the French DB and allows the user to log in. Home to user after entering Redirected using espx (FormsAuthentication.RedirectFromLoginPage (TextBox1.Text, false)) and I am able to get the user name using the user. Identity.Name Tell me more information.
Are you using a .NET subscription provider?
With its sounds, you want to implement the "Remember this user" function. You can do this by applying a cookie based login that stores a login token in the customer browser, so they come back to the site, they are automatically logged in again.
But you really need to provide more information about how your login mechanism has been implemented so far.
Comments
Post a Comment