[support] Session problems

Daniel Carrera daniel.carrera at zmsl.com
Tue Jun 24 18:50:50 UTC 2008


Earnie Boyd wrote:
> Hum, this looks interesting to the issue: 
> http://bugs.php.net/bug.php?id=24781; especially the last comment.  I 
> don't know if that comment still applies or not but sounds similar to 
> your issue.

The last response to that issue suggests a couple of things:

1. The PHP devs don't think this is a bug, hence we can suppose that it 
was not "fixed" in PHP 5.

2. It says: "The solution is to keep the session expiry times shorts and 
send headers indicating to the proxies/caches that the pages are not to 
be cached."

So I'll try to follow the advice in the last post. Is there a way to 
"send headers indicating to the proxies/caches that the pages are not to 
be cached"?


Is there anything else I can do to make sessions expiry times short? I 
have already set:

ini_set('session.cookie_lifetime', 0);
ini_set('session.cache_expire',   10);
ini_set('session.use_only_cookies', 0);

Can I improve on this?

Thanks for the help. Incidentally, I do think that this PHP issue is 
exactly the problem I'm having. The issue talks about proxy servers 
caching pages and I fully expect the school to be behind a proxy server.

Cheers
Daniel.


More information about the support mailing list