Connecting Tech Pros Worldwide Help | Site Map

Session Timeout

  #1  
Old June 29th, 2006, 08:35 PM
J Huntley Palmer
Guest
 
Posts: n/a
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, 10:25 PM
Andy Hassall
Guest
 
Posts: n/a

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
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change the session timeout? =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?= answers 25 April 4th, 2007 02:45 AM
Setting the Session timeout for a specific page. UJ answers 4 August 28th, 2006 11:15 AM
Strange session timeout problem(urgent help needed). jensen bredal answers 17 November 19th, 2005 10:37 AM
infinite session timeout Joe Abou Jaoude answers 8 November 19th, 2005 12:29 AM
ASPX Page Timeout - Session Timeout DavidS answers 4 November 18th, 2005 03:26 PM