php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11183 session_cache_limiter() doesn't work in Netscape 4.7 and 6
Submitted: 2001-05-30 01:09 UTC Modified: 2001-05-30 06:01 UTC
From: philhuen at myrealbox dot com Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.0.4 OS: Unix
Private report: No CVE-ID: None
 [2001-05-30 01:09 UTC] philhuen at myrealbox dot com
I try to use 

session_cache_limiter('must-revalidate');
or
session_cache_limiter('public');
or
session_cache_limiter('public,'ust-revalidate');


before the session_start() function. However, the data missing problem in netscape 4.7 and 6 is still there! However,IE 5 has no problem!

This is how the problem appears! 
I have a form on a.php3 with post method. I send the data form a.php3 to b.php3. Then the b.php3 will redirect to c.php3. When I am in c.php3 and click back, the missing data will be shown.

a.php3 -> b.php3 -> c.php3

when b.php3  <- c.php3 (data missing)  

Thanks
Phil

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-30 06:01 UTC] sniper@php.net
The correct line is:

session_cache_limiter('private, must-revalidate');

And this works just fine for me with NS 4.77

--Jani


 [2003-11-25 08:08 UTC] shagren at ua dot fm
>session_cache_limiter('private, must-revalidate');
This not worked.

<?php
session_cache_limiter('private, must-revalidate');
session_start();
echo session_cache_limiter ();
?> 

Produce:

Content-type: text/html
X-Powered-By: PHP/4.3.4
Set-Cookie: PHPSESSID=669e20e219ee95bfd0a4f22acfa89199; path=/

private, must-revalidate
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 09:01:26 2019 UTC