Session Timeout
| From: | Ye Tun | Date: | Fri, 04 Jan 2002 03:58:32 +0000 |
| Subject: | Session Timeout | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-79362@lists.php.net to get a copy of this message | ||
What is the optionin php.ini for session timeout?
here is my session setting.
session.save_handler = files ; handler used to store/retrieve data
session.save_path = /home/apache/newmob/tmp ; argument passed
session.use_cookies = 1 ; whether to use cookies
session.name = SESSID
session.auto_start = 1 ; initialize session on request
session.cookie_lifetime = 0 ; lifetime in seconds of cookie
session.cookie_path = / ; the path the cookie is valid for
session.cookie_domain = ; the domain the cookie is valid for
session.serialize_handler = php ; handler used to serialize data
session.gc_probability = 1 ; percentual probability that the
session.gc_maxlifetime = 1440 ; after this number of seconds, stored
session.referer_check = ; check HTTP Referer to invalidate
session.entropy_length = 0 ; how many bytes to read from the file
session.entropy_file = ; specified here to create the session
session.cache_limiter = private, must-revalidate ; set to
session.cache_expire = 330 ; document expires after n minutes
session.use_trans_sid = 1
And how do I check if the same user has the session already?
REgards,
Ye