Ok, register_globals doesn't have anything to do with the problem.
My guess is the page is relying on cookies to pass the session id and you probably don't have cookies enabled. In most modern browsers cookies are turned off by default.
Code:
header ("Refresh: 5; URL=" . $_POST['redirect'] . "&sid=".session_id());
echo "You are being redirected to your original page request!<br>";
echo "(If your browser doesn't support this, <a href=\"" .
$_POST['redirect']. "&sid=".session_id()."\">click here</a>)";
The session id is required to tie the session data to the user, if the id is not passed a new session will be created every time. By default this is done with cookies, every time a call to session_start is made a cookie is output containing the session id. Otherwise the session id needs to be hard coded into the page with a query string or hidden input field.
Such as:
echo "<a href='index.php?sid='".session_id()."'>Click here</a><br />\n";
Or:
echo "<input type='hidden' name='sid' value='".session_id()."' />";
Try that and let me know how it goes!
HTH!
Regards,
Rich
::::::::::::::::::::::::::::::::::::::::::
The Spicy Peanut Project
http://www.spicypeanut.net
::::::::::::::::::::::::::::::::::::::::::