Connecting Tech Pros Worldwide Forums | Help | Site Map

Session Timeout Question

Ralph Freshour
Guest
 
Posts: n/a
#1: Jul 17 '05
Can I adjust the PHP session timeout on my web site? Users are
reporting timeout errors when they leave their computer for a period
of time and then come back to resume using the site - is there some
kind of global session timeout in PHP that I can set?

Thanks...




Brian
Guest
 
Posts: n/a
#2: Jul 17 '05

re: Session Timeout Question


http://us2.php.net/manual/en/ref.session.php
http://us2.php.net/manual/en/function.ini-set.php

session.cookie_lifetime integer

session.cookie_lifetime specifies the lifetime of the cookie in seconds
which is sent to the browser. The value 0 means "until the browser is
closed." Defaults to 0.See also session_get_cookie_params() and
session_set_cookie_params().

session.cache_expire integer
session.cache_expire specifies time-to-live for cached session pages in
minutes, this has no effect for nocache limiter. Defaults to 180. See also
session_cache_expire().





"Ralph Freshour" <ralph@primemail.com> wrote in message
news:5thupvojj7hph43non58tgp04ch0g399ol@4ax.com...[color=blue]
> Can I adjust the PHP session timeout on my web site? Users are
> reporting timeout errors when they leave their computer for a period
> of time and then come back to resume using the site - is there some
> kind of global session timeout in PHP that I can set?
>
> Thanks...
>[/color]


Closed Thread