php-windows | 2003112
Date: 11/27/03
- Next message: PETCOL: "Re: [PHP-WIN] Redirection"
- Previous message: PETCOL: "Re: [PHP-WIN] Redirection"
- In reply to: PETCOL: "Re: [PHP-WIN] Redirection"
- Next in thread: PETCOL: "Re: [PHP-WIN] Redirection"
- Reply: PETCOL: "Re: [PHP-WIN] Redirection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 27 Nov 2003, PETCOL wrote:
> Thanks, but, what if, I've just gone through an set variables and outputed
> the contents of those to PHP, just to run up a SQL query, to authenticate a
> user. Set another to say they are authenticated, then I want to take the
> user to another page? What PHP method would I use in this case.
If you output anything to the user you can no longer do an HTTP redirect
by the very definition of how things work. You could do a Javascript
timed redirect, but if you output something for the user to see are you
really going to suddenly change the page on them without giving them a
chance to read it? Normally that is considered very bad UI design.
-Rasmus
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: PETCOL: "Re: [PHP-WIN] Redirection"
- Previous message: PETCOL: "Re: [PHP-WIN] Redirection"
- In reply to: PETCOL: "Re: [PHP-WIN] Redirection"
- Next in thread: PETCOL: "Re: [PHP-WIN] Redirection"
- Reply: PETCOL: "Re: [PHP-WIN] Redirection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

