Ask a Question related to ASP.NET General, Design and Development.
-
Justin Dutoit #1
Dealing with Session State timeouts
Hey. What is the best practice for dealing with session state timeouts in a
web app? eg Session_OnEnd Sign them out, so they redirect to Login on the
next request.
Also, for lower security situations, like a home shopping site used from a
secure home environment, how long should the session timeout be?
Cheers
Justin Dutoit
Justin Dutoit Guest
-
Session state IIS (Machine Key | Load Balanced Session)
This is a classic ASP group. Try microsoft.public.dotnet.framework.aspnet "Fred" <me@me.com> wrote in message... -
session timeouts
I've had this problem for years, but have never been able to figure it out. I often pass session information via the URL. On our local development... -
session timeouts above 20 minutes?
I don't know if this has been addressed before but I am using CF 5.0 and it seems that I can't get the session timeout to go over 20 minutes, no... -
PHP SESSION timeouts
Hi, No, there is not! You have to manage yourself the timeout, for instance through a timestamp, which you verify on each request. PHP does not... -
Setting Session State timeouts
Hey. For lower security situations, like a home shopping site used from a secure home environment, how long should the session timeout be? I'd like... -
Steve C. Orr, MCSD #2
Re: Dealing with Session State timeouts
ASP.NET has this functionality built in. It's called Forms Authentication.
It is easily configured in your web.config file.
When the session times out they'll automatically be taken to the login page
on their next page request.
Here's more information:
[url]http://www.dotnetbips.com/displayarticle.aspx?id=9[/url]
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"Justin Dutoit" <anon@anon.com> wrote in message
news:ehWLJowWDHA.212@TK2MSFTNGP12.phx.gbl...a> Hey. What is the best practice for dealing with session state timeouts in> web app? eg Session_OnEnd Sign them out, so they redirect to Login on the
> next request.
> Also, for lower security situations, like a home shopping site used from a
> secure home environment, how long should the session timeout be?
>
> Cheers
> Justin Dutoit
>
>
>
Steve C. Orr, MCSD Guest



Reply With Quote

