just trying to get a better understanding of the concepts involved with this so i can make better decisi开发者_如何学Goons on implementing the login based on the requirements i've been given.
in the case where the user checks the remember me box, how long does the asp login control's "remember me" remember for?
The default is set to 50 years.
From the MSDN page:
When the RememberMeSet property is true, the authentication cookie sent to the user's computer is set to expire in 50 years, making it a persistent cookie that will be used when the user next visits the Web site. Because the authentication cookie will be present on the user's computer, the user will be considered already authenticated and will not have to log in to the Web site again.
精彩评论