RE: [PHP-WIN] header functions and ... ?
| From: | Sjon | Date: | Mon, 23 Dec 2002 18:43:01 +0000 |
| Subject: | RE: [PHP-WIN] header functions and ... ? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-17531@lists.php.net to get a copy of this message | ||
If you want to do a redirect after sending headers (why after?),
you can use the meta refresh tag, or javascript.
And if you want to carry along the userinfo, either pass them
along with the query string, or use sessions...
Sjon.
(BTW: isn't this more a message for php-general ??)
-----Original Message-----
From: thomash@gmx.co.za [mailto:thomash@gmx.co.za]
Sent: Monday, December 23, 2002 18:58 pm
To: php-windows@lists.php.net
Subject: [PHP-WIN] header functions and ... ?
Hey there,
I posted a message a day ago about possible redirect functions. Now i was
told to check out the header functions.
The problem is still the same (just need to explain better):
i cannot use header because the headers are already sent. i want to use it
as a part of a logon script which, if user is present, will redirect the
user
to another php page.
i also want the user info, coming straight out of the db, to be carried
along.
i can see that my way of wanting to do that is not working with php so well.
so if u have another idea please let me know.
In Asp.Net, the server.transfer() method is independent from the headers
sent and can used any time. i suppose there is no real equivalent in php?
thanks
God bless ya
Thomas