Re: [PHP] http header with target problem

2002-03-11 Thread Michael P. Carel


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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] http header with target problem

2002-03-11 Thread Analysis & Solutions

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




[PHP] http header with target problem

2002-03-11 Thread Michael P. Carel

Hi to all,

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?
Please help


Regards,
Mike


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php