在asp.net4.0中进行会话 [英] session out in asp.net4.0

查看:94
本文介绍了在asp.net4.0中进行会话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述







在我的网站上,我在asp.net中使用c#在dotnet framework4.0中创建,当时我如果我在我的网络应用程序中登录,我会在20分钟内完成理想的应用程序。会话将到期,但在gmail,facebook等社交网站会话并不是expaire。怎么可能?



在网络配置文件的时候它不是handel ...




in my website which i was create in asp.net with c# in dotnet framework4.0,when i login in my web application in case of, I leave the application in ideal in more than 20 min. the session will be expire, but in gmail, facebook etc social networking site session is not expaire. how it is possible?

its not handel in increase ihe time of web config file....

推荐答案

嗨......

请参阅web.config.Like中的this.Session timeout menssion ...

http://www.aspdotnet-suresh.com/2010/10/session-timeout-problem-in-aspnet.html [ ^ ]

谢谢你。
Hi...
Refer this.Session timeout menssion in web.config.Like...
http://www.aspdotnet-suresh.com/2010/10/session-timeout-problem-in-aspnet.html[^]
Thank u.


你可以利用AJAX和web服务来保持会话活着。请看这个链接



防止ASP.NET中的会话超时 [ ^ ]



另一种解决方法:



防止ASP.NET中的会话超时[Codeproject] [ ^ ]



问候..:笑:
You can make use of AJAX and a webservice to keep session alive.Refer to this link

Prevent Session Timeout in ASP.NET[^]

Another work around:

Prevent Session Timeout in ASP.NET[Codeproject][^]

Regards..:laugh:


检查以下可能对你有帮助的链接:



http://stackoverflow.com/questions/648992/session-timeout-in-asp-net [< a href =http://stackoverflow.com/questions/648992/session-timeout-in-asp-nettarget =_ blanktitle =New Window> ^ ]



http:// msdn。 microsoft.com/en-us/library/system.web.sessionstate.httpsessionstate.timeout.aspx [ ^ ]



问候!
Check the following links that maybe can help you:

http://stackoverflow.com/questions/648992/session-timeout-in-asp-net[^]

http://msdn.microsoft.com/en-us/library/system.web.sessionstate.httpsessionstate.timeout.aspx[^]

Regards!


这篇关于在asp.net4.0中进行会话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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