Jump to content

meta refresh after login not working


c_shelswell

Recommended Posts

I've got a login script that checks the details entered if no errors occur it does a meta refresh to the main page.

 

It's working fine on my dev box in firefox and ie6 but as soon as i upload it it only works in firefox. IE6 just does a refresh to the same page. Can't understand why it would do that.

 

my code is

 


if ($logged_in == false && $_SESSION['error'] == ""  )
{
	dispalyLogin();

}
elseif ($logged_in == true)
{
	echo "<meta http-equiv=\"Refresh\" content=\"0 ;url=./altsource.php\">";
}

 

any ideas? Or alternative ways of doing it.

 

Thanks

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.