Page 1 of 1

session not connecting

Posted: Fri Jul 26, 2002 8:45 pm
by cheatboy00
o.k. I have set a sesion on my computer... i used a session to login to my account then i closed the browser and shut off my computer ....

i came back turned it on and went back to my site ....

i have the session still stored on my computer but it wont show the control panel, even though i have session_start() at the top of my page....

shouldnt that work... or is there like a session_call or something.?

Posted: Fri Jul 26, 2002 9:08 pm
by volka
not by default and by meaning (at least I think so)
take a look here http://www.zend.com/zend/tut/session.php
... If you propagate the session ID via cookies, the default cookie lifetime is 0, meaning that the cookie is deleted as soon as the user closes the browser. You can influence the cookie's lifetime with the configuration value lifetime...
...gc_probability. This specifies with what probability the garbage collection routine should be invoked. If gc_probability is 100, the cleanup is performed on every request (that is, with a probability of 100%); if it's 1 as by default, old sessions will be removed with a probability of 1% per request...

Posted: Fri Jul 26, 2002 9:19 pm
by cheatboy00
sweet......... thanks