frameset problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • princelindie
    New Member
    • Feb 2008
    • 28

    frameset problem

    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 .
  • AutumnsDecay
    New Member
    • Mar 2008
    • 170

    #2
    Originally posted by princelindie
    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.

    Comment

    • princelindie
      New Member
      • Feb 2008
      • 28

      #3
      Got it out.
      Work fine.. what i did was point the link to _blank.

      Comment

      Working...