note 8252 deleted from ref.session by yohgaki

From: Date: Sat, 19 Jan 2002 06:21:34 +0000
Subject: note 8252 deleted from ref.session by yohgaki
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-25090@lists.php.net to get a copy of this message
This took me a while to figure out : I wanted to use session management for my pages where the data changes all the time, and i want people to be able to print things out. This causes a problem, because by default the session management cache_limiter (in php.ini) is set to nocache, which makes it impossible to print or use the back button. If i change it to public or private, it makes it so i can print, but when the data changes, the page does not display it, it displays the cached version - this is a headache. Through trail and error, i figured out that you can leave the cache setting alone (up to the browser) by making the setting session.cache_limiter = ; (leaving it blank) instead of one of (nocache, public, private) So if you want the cache to act like it did before you added the session management, just blank the setting out.

« previous php.notes (#25090) next »