Page 1 of 1

Cache-Control from the Abyss [SOLVED]

Posted: Fri Jul 29, 2005 9:57 pm
by Ambush Commander
These are the first HTML forms I've ported to Smarty, so I was a bit confused when Firefox's nice "remember the text in the box even when you press submit so you can return to it by pressing back" stopped working.

Eventually, I figured it out. Some way or another, a

Code: Select all

Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Was being sent. This is not desirable. What we want is something like:

Code: Select all

Cache-Control: private, pre-check=0, post-check=0, max-age=0
But where is this header coming from? I have no clue. I thought it might be from Smarty... but...

Posted: Fri Jul 29, 2005 10:49 pm
by Ambush Commander
Meh it's the sessions: session_cache_limiter()