I'm trying to setup a login process, right now I have two pages, index.php & main.php.. Both have the "session_start();" at the top of them. When I try to print a session variable on main.php which was initalized on index.php it doesn't print anything, as if it doesn't exist. Here is a some of the code from the pages..
index.php:
.
.
$verified_admin = $userid[0];
session_register($verified_admin);
$HTTP_SESSION_VARS["my_var"] = "hello";
Header("Location: main.php");
.
.
main.php:
.
.
<?php
print $HTTP_SESSION_VARS["my_var"];
print($verified_admin);
?>
.
.
Any help? Suggestions?
Thanks..