Re: [PHP4BETA] Session cache problem ?
| From: | Sascha Schumann | Date: | Thu, 27 Apr 2000 15:11:50 +0000 |
| Subject: | Re: [PHP4BETA] Session cache problem ? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-14064@lists.php.net to get a copy of this message | ||
On Thu, Apr 27, 2000 at 10:00:24AM +0200, J-F Mammet wrote:
> Hi everyone.
>
> I have a problem with the session cache. When I set it to nocache, when I
> click on back on my browser, the page is reloaded and of course I loose the
> forms content. I believe this is the normal behaviour of this setting.
>
> Now if I put the cache on public ou private, this page is not reloaded,
> BUT, and this is were it gets weird, if I click on reload on IE5, the page
> won't update its content. I see on the logs that IE loads the page, but it
> displays the old one ! Something is terribly wrong here.
>
> I have the same problem with RC1 or latest CVS.
>
> Is there any way to simply disable the cache header so I works like in PHP3 ?
Set session.cache_limiter to ""
This is not recommened. You should make your application
redisplay the form with the user input inserted, so that you do
not need to rely on the unreliable back function of browsers.
- Sascha