Forums

This topic is locked

Extend logon time?

Posted 12 Jan 2002 22:35:23
1
has voted
12 Jan 2002 22:35:23 Anders Heikkilä posted:
Hi =)

I´m using the Ultradev built-in login system for the admin pages of my site.

How can I extend the time that one can be logged in ?

Because when I´m writing the news that I will post, it can sometimes take a while.
Then when I post it, I´m getting re-directed to the login page.
Because the session has timed out or something...
Best regards
Anders

Replies

Replied 13 Jan 2002 12:49:02
13 Jan 2002 12:49:02 Viktor Farcic replied:
This applies only to ASP.
1. Create file with a name global.asa
2. Open it with Notepad and insert following lines inside:

<SCRIPT LANGUAGE=VBScript RUNAT=Server>
Sub Session_OnStart
Session.Timeout = 30
End Sub
</SCRIPT>

3. Change '30' to any number of seconds
4. Upload this file to root of your site.
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hi =)

I´m using the Ultradev built-in login system for the admin pages of my site.

How can I extend the time that one can be logged in ?

Because when I´m writing the news that I will post, it can sometimes take a while.
Then when I post it, I´m getting re-directed to the login page.
Because the session has timed out or something...
Best regards
Anders
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Viktor Farcic

TalkZone Manager

Reply to this topic