开发者

if the user checks remember me on the asp login control, when will the user have to login again?

开发者 https://www.devze.com 2023-04-09 02:41 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消