Re: session handler auto log out [message #176150 is a reply to message #176132] |
Sat, 26 November 2011 18:36 |
Denis McMahon
Messages: 634 Registered: September 2010
Karma:
|
Senior Member |
|
|
On Fri, 25 Nov 2011 10:40:29 +0100, Erwin Moller wrote:
> The reason I interrupted was simply that we were discussing updating
> session expiration. In that context your former posting could easily be
> misinterpreted, although you didn't write it exactly that the session
> expiration would be updated by a typical image request (no PHP
> involved). And I just wanted to make that point clear. :-)
Yeah, there were two points I was trying to get across:
a) If the client has a session cookie applicable to a request that it is
making, it sends the cookie; and
b) If the server handles the request with php that invokes the session
handler, then the session timeout will get updated
If both above conditions (a and b) are true, it doesn't matter what's
being requested (pdf files, favicon, linked style sheets, javascript
files, images, archives of some sort whether compressed or not, ajax
requests etc), the session timer gets updated in the process of servicing
the request and an updated session cookie is issued.
But I thought I made it fairly clear originally that I was only talking
about cases where the request was served by a php script that invoked the
session handler in the process.
Rgds
Denis McMahon
|
|
|