开发者

How to stop user of application timing out?

开发者 https://www.devze.com 2023-03-24 23:24 出处:网络
I have an web application programmed in classic asp/vb. It is runnin开发者_开发问答g on windows server 2008 r2. iis7

I have an web application programmed in classic asp/vb. It is runnin开发者_开发问答g on windows server 2008 r2. iis7

I want the user of the application once logged in not be logged out automatically..ever!

is this possible if so how?


Yes, there are 2 ways and none are secure:

1.

  • Save Login Credentials in either a cookie or in memory.
  • On page load you need to force the browser to refresh every 1 hour.
  • During web browser refresh send stored credentials to login class/function. This will refresh the session timeout.

2.

  • You can also extend the session timeout using a browser refresh without storing credentials.
0

精彩评论

暂无评论...
验证码 换一张
取 消