Hello,
I am facing a problem. I have a php Page which have two frames header and body.
Now header frame remain static and only body frame is redirected on timeout of page. This leads to 2 header frames on page because body frame is redirected to login page n which again make header as well as body frame from start.
can anyone tell me plz that how can I refresh my page along with redirecting it to login page. as with this only I can stop 2 headers on a page.
Thanks for ur help in advance.
How Static Headers frame can redirect on timeout
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
how are you refreshing right now? Javascript? If so:
Code: Select all
<script language="Javascript">top.location.href = 'whatever/url.php';</script>- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
header() output cannot be targetted to a specific frame, sadly. You'll need to initiate the redirect via client-side controls..
In the future, please use the
In the future, please use the
Code: Select all
andCode: Select all
for posting code. Read: url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url]