ID: 11618
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Analyzed
Old-Bug Type: *Session related
Bug Type: Documentation problem
Operating system:
PHP Version: 4.0.4
Assigned To:
Comments:
reclassified as documentation problem.
This should be explained better in the manual.
Previous Comments:
---------------------------------------------------------------------------
[2001-06-22 12:57:37] [EMAIL PROTECTED]
I have solve the problem when I set session.cache_limiter =must-revalidate
But I don't why!Can somebody tell me?
---------------------------------------------------------------------------
[2001-06-22 12:46:30] [EMAIL PROTECTED]
<?
//test1.php
session_start();
$aaa="sfsdsdasdf";
$bbb="safsadfasdf";
session_register("aaa");
session_register("bbb");
?>
FORM METHOD=POST ACTION="test2.php">
<INPUT TYPE="text" NAME="a1">
<INPUT TYPE="text" NAME="a2">
<INPUT TYPE="submit">
</FORM>
?>
/---------------------------------------
<?
//test2.php
session_start();
echo "aaa:".$aaa."<br>";
echo "bbb:".$bbb
?>
<a href="javascript:window.history.back()">back</a>
/---------------------------------------
When I set the session_cache_limiter = nocache ,that I submit my form ,and I can get
the correct session.
But when I click then back link ,I lost the data in the form .
So I change the session_cache_limiter = private or public. That when I back I can got
the data in the form. And I have a new problem,I need check the session in my program
when the different user login(I check use status using session ) ,
When I login use different user ,the session I got is not correct. And I found I can't
destroy the session.What shall I do?
What is the different about nocache,private,public?
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11618&edit=2
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]