Connecting Tech Pros Worldwide Forums | Help | Site Map

Session Timeout

J Huntley Palmer
Guest
 
Posts: n/a
#1: Jun 29 '06
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

Andy Hassall
Guest
 
Posts: n/a
#2: Jun 29 '06

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