[PHP] Re: Secure redirection?

2009-01-19 Thread Nathan Rixham
Zoran Bogdanov wrote: 1.When the user is successfully authenticated the login.php sends the header, but the AJAX XMLHttpRequest call is still in progress waiting for a PHP response. So when PHP using the header function redirects to another page that page is outputed to the login form... you

[PHP] Re: Secure redirection?

2008-11-09 Thread Martin ZvarĂ­k
I might have not read your post thorougly, but it's important to know, that Header sends a HTTP request to the browser - you are not hiding the destination URL. So, calling header(location: in PHP is basically same as redirect using JS. Martin Zoran Bogdanov napsal(a): Hi, I'm building a