登录页面上的“记住我"选项 [英] remember me option on login page

查看:54
本文介绍了登录页面上的“记住我"选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi ,,,

我创建了一个登录页面,其中包含帐户编号,电子邮件ID和密码
如果用户选择选项,则有一个记住我"复选框,该复选框应在下次登录时在相应的文本框中显示电子邮件和帐号".我该怎么做?
Cookeis在这里有用吗?如何使用??

任何人都可以建议其他方法而不是Link

解决方案

amitktkr写道:

是Cookeis在这里有用吗?



是的.
我建议您阅读asp.net中的cookie,您将知道该怎么做.我会为您提供链接.
ASP.NET Cookies概述 [ 解决方案

is cookeis are useful here?



Yes.
I would suggest you to read about cookies in asp.net and you will know how to do it. I will provide you the link.
ASP.NET Cookies Overview[^]


for this you have to use formsauthentication and for the method Formsauthentication.SetAuthenticationCookie(), the second parameter must be true.


yes..I dont think I need to talk much about it since the above 2 answers have told it all : so just read about Cookies.


这篇关于登录页面上的“记住我"选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆