Asp.net网站中的自动注销问题 [英] Auto Logout problem in Asp.net website

查看:88
本文介绍了Asp.net网站中的自动注销问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用登录控件,但是其记住我"选项不起作用.我已设置其属性Remembermeset = true.

如果我的网站在5分钟内保持不活动状态(即未向服务器发送任何请求),则会将我重定向到登录页面.

有人告诉我有关Cookie的信息,但我不知道如何在登录控制中使用它们.我正在使用表单进行身份验证,并使用Access DB来获取成员资格数据.

I am using Login control but its Remember me option is not working. I have set its property remembermeset=true.

If my website remains inactive (i.e. no request sent to server) for 5 min it redirects me to login page.

Someone told me about cookies but i don''t know how to use them with login control. I am using forms for authentication and Access DB for membership data.

推荐答案

希望 ^ ]可能会为您提供帮助.
Hope this[^] might help you.


您可以在页面上设置cookie
you can set cookie on your page


http://stackoverflow.com/questions/3839851/disable-auto-logout -feature-in-asp-net [ ^ ]
ASP.NET表单身份验证示例

希望以上信息对您有所帮助.如果您还有其他顾虑,请告诉我.
http://stackoverflow.com/questions/3839851/disable-auto-logout-feature-in-asp-net[^]
ASP.NET Forms Authentication Sample

I hope the above information will be helpful. If you have more concerns, please let me know.


这篇关于Asp.net网站中的自动注销问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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