做一个会话超时从未或重定向用户到主页。 ASP.NET [英] Make a Session never timeout OR redirect user to home page. ASP.NET

查看:103
本文介绍了做一个会话超时从未或重定向用户到主页。 ASP.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在asp.net 3.5 Web应用程序的会话超时设置为24小时,但ASPNET进程的服务器上的一个工作循环定在上午03点00每天触发是导致会话超时。

I am working on a asp.net 3.5 web application the session time-out is set to 24 hours but a recycling of ASPNet process on the server is scheduled to trigger everyday at 3:00 A.M. is causing the session to timed out.

什么是最好的解决方案,以及如何实现它:

What is the best solution and how to achieve it :

我的code要不断听取服务器,并显示一条消息,用户和会话过期后,他重定向到主页?

My code should constantly listen to the server and show a message to user and redirect him to home page after session is expired?

一个解决方案,这使得会话超时永不

A solution which makes a session to never timeout.

在此先感谢BB

推荐答案

请参阅此
  http://www.primaryobjects.com/CMS/Article86.aspx

这篇关于做一个会话超时从未或重定向用户到主页。 ASP.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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