Re: http header with target problem
| From: | Michael P. Carel | Date: | Tue, 12 Mar 2002 00:46:25 +0000 |
| Subject: | Re: http header with target problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-88128@lists.php.net to get a copy of this message | ||
You mean this
header('Window-target: _top');
header("Location:index.php?expire=0");
> 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
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php