Hi all
I have a main file index.php it does several checks before it pushes you to main.php
Problem is that the frist time you open the brower the session id doet pass if I retype the url the session pass fine
In the first instance tho it not passing even if I hit refresh it won't pass I have to retype the URL.
Also I have a simple check that checks to see if your logged in or not if you are pass logged in values or if not just the session id.
It use\ing a header() to redirect to main.php
anyway thats the Idea
snippet
/
session_start(); // on all pages
$sid = "$PHPSESSID";
session_register("$sid");
/
Thanks for any help