会话在回发后过期 [英] Session Expire After postback
本文介绍了会话在回发后过期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的网页中,我创建了一个存储号码的会话,没有,我必须使用5到6页以上的页面.
但我的问题是,有时它可以正常工作,而有时会话会终止
所以给我错误对象未设置为引用.....
我做错了还是有另一种方法...
请帮我,在我办公室里没有人可以帮我:(
我必须在晚上之前完成..
In my web page I have created session which store number and that no i have to use more than 5 to 6 page.
but my problem is that some times its works fine and some times session expires
so give me error Object not set to reference.....
what i m doing wrong or is there another way...
plz help me no one is there to help me in my office :(
i have to complete it by evening..
推荐答案
在ASP.Net中处理会话和身份验证超时 [ ^ ]
如何处理会话在ASP.NET网站上过期后回发 [会话在回发后过期... [
Handling session and authentication timeouts in ASP.Net[^]
How can I handle a postback after session expires on an ASP.NET site[^]
Session Expires on postback...[^]
在群集托管中,当他们也添加网站iis时,他们重置了它!
这对你来说不是问题!
只需将您的代码设置为try catch!
in clustered hosting, when they add a website too iis , they reset it!
this is not a problem for you!
just set your code into a try catch!
这篇关于会话在回发后过期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文