Sessions under PHP 4.2
| From: | R.S. Herhuth | Date: | Mon, 13 May 2002 13:00:47 +0000 |
| Subject: | Sessions under PHP 4.2 | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-13720@lists.php.net to get a copy of this message | ||
I know this has been discussed before but I'm having trouble finding
anything that outlines it.
I installed 4.2 and I want to use sessions with the "stock
configuration." I tried this but it doesn't work...what should I be
doing different?
Page 1 ---------
<?
start_session();
session_register("testVar");
$testVar = "This variable has been successfully registered";
?>
Page 2 ---------
<?
start_session();
echo $_session["testVar"];
?>
thanks,
Ron