Jump to content

Frames Target help


elmas156

Recommended Posts

This seems like it should be simple but it's driving me crazy... I have a site that I use a login in conjunction with frames.  After some time of inactivity, the session expires and when a link is clicked in one of the frames, that frame redirects to the login page.  I would like for it to exit the frames and go to the login page.  I'm using the header tag to redirect... like this

 

header("Location: index.php");

 

How can I incorporate "Target='_top'" or something similar to achieve the desired effect?

Link to comment
Share on other sites

After reading some of the other posts here on frames, it seems as though not many people are using frames at all.  Does anyone have any suggestions on maybe a better way to go if there isn't a solution to my question?  What I'm trying to create is an anonymous messaging system... closely resembling email but messages will only be able to be sent between users of the site so that they can remain anonymous.  The top frame of my site would be a list of messages, and the bottom frame would be where the message is displayed.  Any suggestions on alternatives using PHP, or should I continue with my original idea of using frames to accomplish this?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.