Re: Simple Session Timeout for 60 minutes
From: Kevin Spencer (kspencer_at_takempis.com)
Date: 07/28/04
- Next message: Greg Burns: "Re: User Identity"
- Previous message: vaidas gudas: "Re: How to get all information about user from DC"
- In reply to: Shan Plourde: "Re: Simple Session Timeout for 60 minutes"
- Next in thread: DavidS: "Re: Simple Session Timeout for 60 minutes"
- Reply: DavidS: "Re: Simple Session Timeout for 60 minutes"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 28 Jul 2004 09:19:47 -0400
Note that tripling the Timeout for Sessions is going to increase memory use
on the server for every user on your site. Chances are, this (tripling the
Timeout value) is the wrong solution to a problem you haven't mentioned.
-- HTH, Kevin Spencer .Net Developer Microsoft MVP Big things are made up of lots of little things. "Shan Plourde" <------@---.net> wrote in message news:faGNc.772$vIJ.466@news04.bloor.is.net.cable.rogers.com... > You need to set your session timeout in your web.config. > <sessionState mode="StateServer" > stateConnectionString="tcpip=127.0.0.1:42424" ... timeout="60"/> > > Timeout = "60". This works regardless of your IIS setting described > below I believe. I'm not sure what IIS sessions are. > > Open IIS in Computer Management. Right Click on your website and select > Properties from the pop up menu. Navigate to the "Home Directory" tab. > Click the Configuration button. Click the Options tab. This is IIS > session timeout which I believe is different from .NET sessions. > Shan > > DavidS wrote: > > >I need to have an ASPX web page timeout if no rendering for 60 minutes. If I set Session.Timeout = 60 in Page_Load function of in the script section of the HTML page - I still get default of 20 minutes always. How can I ensure a session timeout of 60 minutes and not the default of 20 minutes. Also, 20 minutes for the other web pages is ok, but for my main page - I want this to be 60 minutes. > >Can you help (p.s. please don't forward me to pay site for solution too) > > > > >
- Next message: Greg Burns: "Re: User Identity"
- Previous message: vaidas gudas: "Re: How to get all information about user from DC"
- In reply to: Shan Plourde: "Re: Simple Session Timeout for 60 minutes"
- Next in thread: DavidS: "Re: Simple Session Timeout for 60 minutes"
- Reply: DavidS: "Re: Simple Session Timeout for 60 minutes"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|