By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,487 Members | 1,085 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,487 IT Pros & Developers. It's quick & easy.

frameset problem

P: 28
my site has a login page. Once you login you enter the main page which consist of frames: A top frame (menu frame) and a bottom frame(content frame).
now when the use click a menu option it displays in the content section that ok.

however when the user select logout it doing so with that frame instead of return to a full wide window .
Mar 6 '08 #1
Share this Question
Share on Google+
2 Replies


AutumnsDecay
100+
P: 170
my site has a login page. Once you login you enter the main page which consist of frames: A top frame (menu frame) and a bottom frame(content frame).
now when the use click a menu option it displays in the content section that ok.

however when the user select logout it doing so with that frame instead of return to a full wide window .
Do you have an example of the script you're using.

What it sounds like you're looking for, to me, is that when the user clicks 'Log out', the cookie should expire, and they should be redirected to a landing page. What you described, sounds like you're simply setting the page to refresh, with an expired cookie. If the page simply refreshes, than yes, you will be left with that frame, as that's how the page is coded.

When the user clicks 'Logout', you should set the cookie to expire, and then have a PHP header redirect them back to the home page of the site.
Mar 6 '08 #2

P: 28
Got it out.
Work fine.. what i did was point the link to _blank.
Mar 11 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.