SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Threaded View

  1. #1
    SitePoint Zealot
    Join Date
    Oct 2004
    Location
    world
    Posts
    128
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up "frame" logout problem

    Hi,

    control_panel.php file has 3 frames .
    left_top.php
    left_bottom.php
    center.php

    control_panel.php
    PHP Code:
    <frameset rows="*" framespacing="0" frameborder="NO" border="1" >
      <
    frameset cols="199,*" framespacing="0" frameborder="NO" border="1">
      <
    frameset rows="80,*" frameborder="yes" border="1" framespacing="0">
      <
    frame src="left_top.php" name="topFrame" scrolling="no" noresize >

      <
    frame src="left_bottom.php" name="leftFrame" scrolling="yes" noresize>
    </
    frameset>
      <
    frame src="center.php" name="right">
      </
    frameset>
    </
    frameset>
    <
    noframes><body
    now left_top.php has the logout button . When I click it
    it only redirect to index.php ...but other (two) frame (left_bottom.php,center.php) remain same.

    <?
    session_start();
    session_destroy();
    header("Location:../mysite/index.php");
    exit(0);
    ?>

    How do I shift the user from all frame(3 frame) to index.php ?

    Hope it is clear
    Last edited by dvddesign; Jun 11, 2007 at 23:41. Reason: clarification


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •