elmas156 Posted August 18, 2010 Share Posted August 18, 2010 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? Quote Link to comment Share on other sites More sharing options...
elmas156 Posted August 18, 2010 Author Share Posted August 18, 2010 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.