Forums

ASP

This topic is locked

Dreamweaver Session.Timeout with log-in SB

Posted 23 Sep 2005 12:49:28
1
has voted
23 Sep 2005 12:49:28 Rene Bandsma posted:
I want to increase the time-out of a login-session created with the standard server behaviour of Dreamweaver. The code is very simple:

<pre id=code><font face=courier size=2 id=code>
&lt;% Session.Timeout = 30 %&gt;
</font id=code></pre id=code>

But where do I put the code?! Only at the login page... or...?

<hr><b>DMXZone support manager</b><br><a href="www.kousman.nl">Kousman web resellers</a>

Replies

Replied 26 Sep 2005 10:53:39
26 Sep 2005 10:53:39 Vince Baker replied:
Hi Rene,

I would have thought you would do this when the session variable is created but I thought the IIS session duration setting was the default duration, I dont think you can increase the session variable above the duration set in IIS. You might want to check microsoft iis support to be sure.

Regards

Vince Baker
<strong>DMX Zone Manager</strong>

[VBScript | ASP | HTML | CSS | SQL | Oracle | AS400 | ERP Logic | Hosting]
Replied 30 Sep 2005 03:56:49
30 Sep 2005 03:56:49 Seb Adlington replied:
Hi Rene,

I had this problem a while back. Vince is bang on, you have to edit the IIS settings which unless you have a dedicated server you'll be out of luck. One way around it is to have a frame on the page which refeshes itself every 20mins or so

hth

Seb
Replied 04 Oct 2005 01:16:26
04 Oct 2005 01:16:26 Lee Diggins replied:
Hi Rene

My understanding on using the method in a page is that it will only apply to the page containing the script. If you want to set the session timout for all sessions and not a single page, you could add the script to the session onstart in the global.asa file or do as Vince has suggested and configure th change in IIS.

Sharing Knowledge Saves Valuable Time!!!
~ ~ ~ ~ ~ ~
<b>Lee Diggins</b> - <i>DMXzone Manager</i>
<font size="1">[ Studio MX/MX2004 | ASP -> VBScript/PerlScript/JavaScript | SQL | CSS ]</font>

Reply to this topic