[_] A Good Long Session
Jon Free
jon at tangymedia.co.uk
Fri Jan 25 15:27:25 GMT 2008
Well here's the line in question
<!-- Session time out length. Should be set to 60 minutes-->
<sessionState mode="InProc" timeout="60" />
No it's not clustered.
How would I find out if the environment was set as production? The code is
still in debug.
Thanks
-----Original Message-----
From: Dan Fairs [mailto:dan.fairs at gmail.com]
Sent: 25 January 2008 15:22
To: underscore at under-score.org.uk
Subject: Re: [_] A Good Long Session
> Looking for some help with one of our large .Net sites that
> incorporates
> user logins that store info in sessions. We have configured the
> session to
> last 60 minutes, using web.config entry and also in IIS. Despite
> this it
> doesn't seem to have made any effect and is starting to annoy the
> guys using
> it. They reckon it last about 20 minutes which is, if I remember
> rightly,
> the default time.
>
Can you post your web.config? Also, what session backend are you using?
Is this a clustered environment? If so, make sure the same setting is
on all the machines in the cluster.
If this is a production environment, it's likely that IIS is
configured to not restart when web.config changes. Try restarting IIS.
Cheers,
Dan
--
Dan Fairs <dan.fairs at gmail.com> | http://www.stereoplex.com/
--
underscore_ list info/archive ->
http://www.under-score.org.uk/mailman/listinfo/underscore
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.11/1242 - Release Date: 24/01/2008
20:32
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.11/1242 - Release Date: 24/01/2008
20:32
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.11/1242 - Release Date: 24/01/2008
20:32