Forums
This topic is locked
Login Timeouts
Posted 17 Apr 2002 01:49:55
1
has voted
17 Apr 2002 01:49:55 aegis kleais posted:
After using UD4's LOGIN, I notice that after X amount of seconds, going to a place where I'm allowed access will act as if I'm not logged in anymore. Is there a way to disable this session timeout? Replies
Replied 17 Apr 2002 02:11:48
17 Apr 2002 02:11:48 Jeremy Conn replied:
Here is the code to alter the session timeout:
<%
Session("<font color=red>SessionVariable</font id=red>"
= "<font color=red>Whatever</font id=red>"
Session.Timeout = <b><font color=red>5</font id=red></b>
%>
NOTE: Time is in MINUTES (above timesout after 5 min.)
(UD4|IIS5|WXP|ASP)
*Connman21*
www.conncreativemedia.com
<%
Session("<font color=red>SessionVariable</font id=red>"
Session.Timeout = <b><font color=red>5</font id=red></b>
%>
NOTE: Time is in MINUTES (above timesout after 5 min.)
(UD4|IIS5|WXP|ASP)
*Connman21*
www.conncreativemedia.com
Replied 17 Apr 2002 04:10:02
17 Apr 2002 04:10:02 aegis kleais replied:
Thank you for the help, but I'm very new to ASP. Can you show me where in the Macromedia code for the login system those variables are? I just want to make it so "Once you login, you're logged in til you logout or close browser" Does UD4 provide that?
Replied 17 Apr 2002 06:53:47
17 Apr 2002 06:53:47 Jeremy Conn replied:
What you are describing is supposed to be the default for UD4 - "session ends when you logout or close the browser" ... if it isn't for yours then the ISP where you host your site might be setting the sessions to end earlier. You could try checking with them...
(UD4|IIS5|WXP|ASP)
*Connman21*
www.conncreativemedia.com
(UD4|IIS5|WXP|ASP)
*Connman21*
www.conncreativemedia.com
Replied 17 Apr 2002 09:38:41
17 Apr 2002 09:38:41 Viktor Farcic replied:
1. Create new file and name it global.asa
2. Insert this code:
<SCRIPT LANGUAGE=VBScript RUNAT=Server>
Sub Session_OnStart
Session.Timeout = 30
End Sub
</SCRIPT>
3. Upload it to root folder of your site and all sessions will last for 30 minutes.
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
After using UD4's LOGIN, I notice that after X amount of seconds, going to a place where I'm allowed access will act as if I'm not logged in anymore. Is there a way to disable this session timeout?
<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
2. Insert this code:
<SCRIPT LANGUAGE=VBScript RUNAT=Server>
Sub Session_OnStart
Session.Timeout = 30
End Sub
</SCRIPT>
3. Upload it to root folder of your site and all sessions will last for 30 minutes.
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
After using UD4's LOGIN, I notice that after X amount of seconds, going to a place where I'm allowed access will act as if I'm not logged in anymore. Is there a way to disable this session timeout?
<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
