How to end sessions without cookies.
Posted: Mon Dec 11, 2006 5:26 am
Hello, I would like to know how I can finalize a session that works without cookies. By now I do it with session_destroy () that doesn't end the session but leaves it without effect, although the ID of the session continues existing (in the page where I execute session_destroy () it lost the ID, but in the previous ones not). I have tried with session_write_close () but does not work (in addition I don't keep variables in databases).
I also wanted to know how to finalize the session in case the user does not indicate explicitly that he leaves the session. I mean, if someone directly changes of page or closes the browser.
Can I give a time of expiry to a session which does not use cookies?
Thanks in advance,
Álvaro
I also wanted to know how to finalize the session in case the user does not indicate explicitly that he leaves the session. I mean, if someone directly changes of page or closes the browser.
Can I give a time of expiry to a session which does not use cookies?
Thanks in advance,
Álvaro