By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,746 Members | 1,735 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,746 IT Pros & Developers. It's quick & easy.

Session Timeout Question

P: n/a
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...

Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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" <ra***@primemail.com> wrote in message
news:5t********************************@4ax.com...
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...

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.