I was curious as to how long Sessions are persitent by default. I found on php.net:
session.cache_expire ==> "180" default
session.gc_maxlifetime ==> "1440" defualt
My guess is that these are times and in seconds? Correct me if I'm wrong. I am using the sessions vars for my log in script and protectiung my pages by making sure a user is logged in. Which one is it that actually 'cuases the user to be "logged out" by timeout? Does the cache expire mean that the username is no longer set after 3 minutes? Thanks for the help.
session.cache_expire ==> "180" default
session.gc_maxlifetime ==> "1440" defualt
My guess is that these are times and in seconds? Correct me if I'm wrong. I am using the sessions vars for my log in script and protectiung my pages by making sure a user is logged in. Which one is it that actually 'cuases the user to be "logged out" by timeout? Does the cache expire mean that the username is no longer set after 3 minutes? Thanks for the help.