Problem with session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux