关于会话变量 [英] about session variable

查看:78
本文介绍了关于会话变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的会话超时但我的个人资料. isanonymous函数返回false,但我希望它返回true,我该怎么做

帮帮我

在此先感谢

when my session is time out but my profile. isanonymous function return false but i want it return me true how i do this

help me

thanks in advance

推荐答案

看看是否可以使用它,
See if you can use this,
HttpContext.Current.User.Identity.IsAuthenticated



[



This[^] is good article about sessions.


会话超时表示会话已过期.当会话过期时,您将不再登录. http://msdn.microsoft.com/zh-我们/library/ms972429.aspx [ ^ ]
--NDK
session timeout means session is expired. when session expired, you will be no more logged in. http://msdn.microsoft.com/en-us/library/ms972429.aspx[^]
--NDK


这篇关于关于会话变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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