Re: possible IE problem
| From: | Larry Garfield | Date: | Tue, 11 Jul 2006 00:53:30 +0000 |
| Subject: | Re: possible IE problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-239283@lists.php.net to get a copy of this message | ||
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:
> œd’÷ä˜Ô' lؾ
> 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@garfieldtech.com 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