Re: http header with target problem
| From: | Analysis & Solutions | Date: | Tue, 12 Mar 2002 00:19:36 +0000 |
| Subject: | Re: http header with target problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-88125@lists.php.net to get a copy of this message | ||
On Tue, Mar 12, 2002 at 08:08:25AM +0800, Michael P. Carel wrote:
>
> I have here a problem regarding auto redirecting a Frame supported page upon
> session timeout. I'm redirecting the page upon session timeout to
> header("Location:index.php?expire=0"); . But i want that to redirect with a
> specified target tags with TARGET=_top to exit in the FRAME page. Any idea?
Have you tried...
header('Window-target: _top');
By the way, the Location header really should use a complete URI,
including the http://www...etc..., not just the file name.
Enjoy,
--Dan
--
PHP scripts that make your job easier
http://www.analysisandsolutions.com/code/
SQL Solution | Layout Solution | Form Solution
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y