-Dave
David Rice wrote:
I Have made two pages, "sess2.php" and "sess3.php"
trying to create a session variable then access it in the other page.
now when i try and call the session in the second page.... i get no value, and i have tried var_dump, and it gives me "NULL" anyone know if there is a reason for this?!
page 1 is like this
=================================================================
<? session_start();?>
<html>
<head>
<title>Session Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?
session_register("name");
$_SESSION["name"] = "dave";
echo $_SESSION["name"];
?>
<br>
<a href="sess3.php"> next </a>
</body>
</html>
_________________________________________________________________
Surf together with new Shared Browsing http://join.msn.com/?page=features/browse&pgmarket=en-gb&XAPID=74&DI=1059
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php