unread
At one time, I thought that I read about a problem with PHP4 sessions involving the recognition of the session expiration in the session engine.
The problem was that the session variables were read into the script's variables BEFORE the expiration time was checked, or that sesson files were ONLY deleted by the garbage collection routine. Anyone remember this?
So, I'm asking if someone here can answer to which order the following tasks run when a script is requested?
[A] read session file if file and PHPSESSID both exist at request time
[B] delete sesssion if expired
(is there a separate process for this, or
does only garbage collection delete sessions?)
[C] load session vars
[D] run garbage collection