RE: Web.Config Timeout Expired Redirect Custom Error Page
- From: Jorge L Matos [MCSD.NET] <matos_jorge_NOSPAM_AT_hotmail.com>
- Date: Mon, 20 Jun 2005 09:36:20 -0700
The ASP.NET session timeout is a passive not an active action. When a
session times out, the session information is removed from the web server
memory. Upon a new web request to the web application the code can determine
if the session has timed out and then redirect to another page. If you are
looking to have the browser automatically redirect the user to another page
without the user causing a form post to occur then you'll need to write some
javascript (look up the setTimeout function)
--
Jorge L. Matos
"Grant" wrote:
> Hi,
>
> I have searched the net and still no luck...
>
> I just want to automatically have a page redirected to another page when the
> timeout set in the config file expires.
>
> I currently have:
>
> <sessionState
> mode="InProc"
> stateConnectionString="tcpip=127.0.0.1:42424"
> sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
> cookieless="false"
> timeout="20"
> />
>
> and want my ASP.Net app to automatically detect that the timeout has expired
> and redirect to another page.
>
> Can anyone help?
>
> Thanks in advance.
.
- References:
- Prev by Date: Re: table row count of 0 for populated table
- Next by Date: Re: n-tier performance trade-off (guidance needed)
- Previous by thread: Web.Config Timeout Expired Redirect Custom Error Page
- Next by thread: Folder Encryption
- Index(es):
Relevant Pages
|