Reply
How to extent session login times
Old 02-18-2007, 04:54 PM How to extent session login times
sandbox's Avatar
Extreme Talker

Posts: 150
Trades: 0
Just a quick question, I built my own forum and it's works OK but if you take too long to write a new thread you get logged off when you try to post. I'm sure there's a way to make the session time longer but I can't work it out.

Oh I'm using .asp for these pages.
Cheers all,
__________________
¦ geodesic domes ¦ bamboo t-shirts ¦How green is?
sandbox is offline
Reply With Quote
View Public Profile Visit sandbox's homepage!
 
 
When You Register, These Ads Go Away!
Old 02-18-2007, 05:18 PM Re: How to extent session login times
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,024
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
If you're using ASP.NET you can set the session timeout in web.config, otherwise it's one of the options for the web site in IIS.
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 02-18-2007, 07:21 PM Re: How to extent session login times
chrishirst's Avatar
Super Moderator

Posts: 26,278
Location: Blackpool. UK
Trades: 0
<% session.timeout = nn %>

nn = minutes

http://www.devguru.com/Technologies/...n_timeout.html
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | Crowded Nightclub? | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-19-2007, 07:22 AM Re: How to extent session login times
sandbox's Avatar
Extreme Talker

Posts: 150
Trades: 0
Thanks Chrishirst, I'll give that a go.
__________________
¦ geodesic domes ¦ bamboo t-shirts ¦How green is?
sandbox is offline
Reply With Quote
View Public Profile Visit sandbox's homepage!
 
Old 02-19-2007, 07:58 AM Re: How to extent session login times
BruceWayne's Avatar
Extreme Talker

Posts: 182
Trades: 0
Make it 5 min, no posting for 5 min it will automatically sign out user.
BruceWayne is offline
Reply With Quote
View Public Profile Visit BruceWayne's homepage!
 
Reply     « Reply to How to extent session login times
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.09395 seconds with 13 queries