On Mon, July 10, 2006 10:55 am, Schalk wrote: > Now that the parse error is fixed the login script works fine in FF > but > in IE it does not do the redirect. Is there a reason why this code may > not work in IE? Is there a better way to do this? > > $_SESSION['email'] = $email; > $_SESSION['memberpassword'] = md5($memberpassword); > header("Location: > http://demo.bdiverse.com/accessible/admin/listmypages.php"); > exit; Bad News: Your sessions are using Cookies, unless you've turned on trans_sid and the SID is in the URL. The browsers are getting two headers: Cookie: php_session_id somevalue Location: http://demo.bdiverse.com/accessible/admin/listmypages.php Some browsers, as soon as they see the Location: header, will *IGNORE* the Cookie headers, and just do the re-direct. Using header("Location:") is prone to all kinds of problems... If this is on your own server, just do: include 'accessible/admin/listmypages.php'; exit; -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php