p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_codeclinic thread: Re: Session.Timeout problems


Message #1 by phillip.a.kimble@g... on Mon, 3 Dec 2001 14:55:56
Hmmm. that should work.

Are you sure your global.asa has the same scope as the pages you are 
checking the timeout in?

Imar


At 02:55 PM 12/3/2001 +0000, you wrote:
>Imar,
>
>I put it in the Session_OnStart event.
>
>PAK
>
> > Hi there,
> >
> > In what event in the global.asa file did you put this comment?
> >
> > Imar
> >
> >
> > > I am trying to set the Session.Timeout to something longer than the
> > > default 20 minutes.  In my global.asa I have the following statement
>to
> > > extend the timeout to 60 minutes:
> > >
> > >      Session.Timeout = 60
> > >
> > > Then, in my first page (which is my logon page) I printout the value
>to
> > > verify that it has been set with the following statement:
> > >
> > >      Response.Write Session.Timeout
> > >
> > > However, this statement prints a 20 rather than a 60.  I have also
> > tried
> > > to set it to 1 so it would timeout in 1 minute for testing, but the
> > > timeout does not appear to be reset.
> > >
> > > Thanks for any help!
> > > PAK
> > >



  Return to Index