c# 3.0 - How to programmatically end an ASP.NET session after a given amount of time -


We have to stop the user session some time later in the ASP.NET site (say 20 minutes).

We know that we can use timers and code for every page to end on timer tick but we are searching through a single IIS configuration in a fast way?

In the way of doing such things?

We are using ASP.NET 2.0, Framework 3.5, IIS6, C #.

TY.

ADDON: I think it is better to expand on the question ... we want to achieve something like "demo" mode, where a user is completely site for minutes bouncing , The "demo" time passed due to the site being disabled is expected to be clear.

There are some ways to do this, for example web.config and IIS this article explains that the timeout How to use different methods to change the value.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -