note 36020 rejected from function.session-start by vincent
| From: | vincent@php.net | Date: | Tue, 23 Sep 2003 09:39:25 +0000 |
| Subject: | note 36020 rejected from function.session-start by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-56956@lists.php.net to get a copy of this message | ||
Note Submitter: u21cn@hotmail.com
----
In The Same IE Window, When I Refreshed Or Change The URL(Test.php Jump To Test1.php), But Always
Get The New Session_ID, So I Can't Get The Session Value, Why?(Env:Win200+Apache+Php4.33)
Example:
Test.php
<?
session_start();
if (!isset($_SESSION['IP']))
$_SESSION['IP'] = getenv("REMOTE_ADDR");
?>
Test1.php
<?
session_start();
echo $_SESSION['IP'];
?>