需要帮助代码以注销 [英] Need help code for logging out

查看:55
本文介绍了需要帮助代码以注销的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友需要注销代码.

推荐答案



将此代码放入您的注销按钮click事件中

Hi,

place this code in your logout button click event

session.abandon();



最好的



All the Best


尝试以下代码...

Try this code ...

Session.Clear();
Session.Abandon();



编码愉快....



Happy coding....


使用asp.net?这几乎是不可能的,因为您通常没有这样做的权限.您可以使用更多授权来运行asp.net,但这将是主要的安全风险.

我无法想象您要注销客户,因为那肯定是不可能的.

祝你好运!
Using asp.net? this would be nearly impossible because you normally don''t have authorization to do that. You could run your asp.net with more authorization but this would be a major security risk.

I cannot imagine you would mean to log out clients because that is certainly impossible.

Good luck!


这篇关于需要帮助代码以注销的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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