Hi, I've tried that, but I still can't get it to work. I have one page:
<?
$username='me';
session_register('username');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<head>
<title>Untitled</title>
</head>
<body>
<?
print($username);
?>
<a href="test.php">test</a>
</body>
=====
then I have test.php:
<?
session_start();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<head>
<title>Untitled</title>
</head>
<body>
<?
print($username);
?>
</body>
=======
but the variable isn't pulled out for some reason. I'm running php3 on win98 using omnihttpd.
Thanks