Connecting Tech Pros Worldwide Help | Site Map

Session Timeout

 
LinkBack Thread Tools Search this Thread
  #1  
Old June 29th, 2006, 07:35 PM
J Huntley Palmer
Guest
 
Posts: n/a
Default Session Timeout

Event though it can be set in the php.ini file globally

; Lifetime in seconds of cookie or, if 0, until browser is restarted.
session.cookie_lifetime = 500


Can it be set per user session?

Thanks

  #2  
Old June 29th, 2006, 09:25 PM
Andy Hassall
Guest
 
Posts: n/a
Default Re: Session Timeout

On Thu, 29 Jun 2006 15:25:12 -0400, J Huntley Palmer <jhp@dontspam.spam> wrote:
[color=blue]
>Event though it can be set in the php.ini file globally
>
>; Lifetime in seconds of cookie or, if 0, until browser is restarted.
>session.cookie_lifetime = 500
>
>Can it be set per user session?[/color]

Yes.

http://uk.php.net/manual/en/ini.php#ini.list
http://uk.php.net/manual/en/function.ini-set.php
http://uk.php.net/manual/en/ref.sess...ookie-lifetime

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
 

Bookmarks

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

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.