Problem with session
| From: | Thone | Date: | Sat, 05 Feb 2005 10:53:01 +0000 |
| Subject: | Problem with session | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-208110@lists.php.net to get a copy of this message | ||
Hi,
I don't know what I did it wrong but i can send any variable through seesion. I have something like this:
//page1.php
session_start();
$_SESSION['time_to_expire'] = time + ALIVE_TIME;
//page2.php
session_start();
print isset($_SESSION['time_to_expire']);
always get '0';
thanks