Re: Random Session Expiration
From: Shrinivas Reddy (Reddy_at_discussions.microsoft.com)
Date: 12/03/04
- Next message: Kevin Spencer: "Re: Image Transparency in ASP.NET"
- Previous message: Hans Kesting: "Re: Disguising/encrypting a querystring variable"
- In reply to: John M Deal: "Re: Random Session Expiration"
- Next in thread: Hans Kesting: "Re: Random Session Expiration"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 3 Dec 2004 08:43:02 -0800
Hi John,
Thanks for your response.
I don't have any Response.Redirect's in my code. This problem is like I
mentioned random. Sometimes the session does not expire till 20 minutes which
is the timeout specified in Web.config.
Thanks
Shrinivas
"John M Deal" wrote:
> I've never seen this happen when session expires, but I have seen it
> when a response.redirect is used without specifying the second parameter
> as true as it aborts the processing of the current page and then
> attempts to switch to the new page. I'm sure there are lots of other
> reasons for this exception to happen, however I'd at least eliminate
> this possibility. If you have any Response.Redirects I'd try changing
> them to something like:
>
> Response.Redirect("NewPage.aspx", true);
>
> Hope that helps.
>
> Have A Better One!
>
> John M Deal, MCP
> Necessity Software
>
> Shrinivas Reddy wrote:
> > I am working on ASP.NET application in which the session expires randomly on
> > any page.
> > Before the session expires I see the following error in VS.NEt output window
> >
> > ==============================================
> > An unhandled exception of type 'System.Threading.ThreadAbortException'
> > occurred in Unknown Module.
> >
> > Additional information: Thread was being aborted.
> > The program '[6036] aspnet_wp.exe:
> > /LM/w3svc/1/root/GWRS.Web-23-127465768399324317' has exited with code 0 (0x0).
> > The thread '<No Name>' (0x157c) has exited with code 0 (0x0).
> > ==============================================
> >
> > Thanks
> > Shrinivas
>
- Next message: Kevin Spencer: "Re: Image Transparency in ASP.NET"
- Previous message: Hans Kesting: "Re: Disguising/encrypting a querystring variable"
- In reply to: John M Deal: "Re: Random Session Expiration"
- Next in thread: Hans Kesting: "Re: Random Session Expiration"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|