Re: possible IE problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is an issue with the session not being closed properly on a redirect.  IE 
seems to be more bothered by this than Firefox, for reasons I don't quite 
understand.  The solution is to explicitly close the session yourself.

See: 
http://www.php.net/manual/en/function.session-start.php#57875
http://www.php.net/session_write_close

And various other user comments.

On Monday 10 July 2006 10:55, Schalk wrote:
> Greetings All,
>
> 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;
>
> Thanks!
>
> --
> Kind Regards
> Schalk Neethling
> Web Developer.Designer.Programmer.President
> Volume4.Business.Solution.Developers

-- 
Larry Garfield			AIM: LOLG42
larry@xxxxxxxxxxxxxxxx		ICQ: 6817012

"If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it."  -- Thomas 
Jefferson

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux