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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to