Current location: Hot Scripts Forums » Programming Languages » ASP » Early Logouts


Early Logouts

Reply
  #1 (permalink)  
Old 10-04-04, 08:01 AM
kocaarslan kocaarslan is offline
Newbie Coder
 
Join Date: Oct 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Early Logouts

Hi
in all login needed scripts system logs me out too early and i have to login many times to make a process, i got this problem in all scripts is there a problem with my server etc? What do i have to do
Reply With Quote
  #2 (permalink)  
Old 10-04-04, 08:35 AM
brayton brayton is offline
Newbie Coder
 
Join Date: Sep 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
are you using the session object to logout?

if so..set the timeout longer.
Reply With Quote
  #3 (permalink)  
Old 10-04-04, 05:05 PM
4n7hr4x 4n7hr4x is offline
Banned
 
Join Date: Jun 2004
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
set the session time to be longer, use this after your session_start(); line
PHP Code:

session_cache_expire(99999); 

this sets the time for it to expire, i believe its in seconds, but not 100% sure


edit

hmm not sure, i just realized this is the asp section, i just click view new posts, but it could be the same for asp and php, check asps official site, maybe they got a function search thing like php.net
Reply With Quote
  #4 (permalink)  
Old 10-05-04, 09:19 AM
hellind2 hellind2 is offline
Newbie Coder
 
Join Date: Oct 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
<% Session.Timeout=60 %>

The session will timeout in 60 mintues. Set it at top of the page.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
early session timeouts? kocaarslan General HotScripts Site Discussion 0 10-04-04 07:57 AM
HYIP Scripts since early 2002 vqahdt General Advertisements 0 02-10-04 04:49 PM


All times are GMT -5. The time now is 03:06 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.