SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2005
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    php & frames & sessions

    hay guys new to frames with php
    and things are really not visible to me
    i need to know do i have to start a session in every page in the frames or its enough in the main page
    and y iam not able to open a page in the main frame after submiting a form ???
    here is my code
    whats wrong in this i cant even get a POST value from the same frame ???
    PHP Code:
    <frameset ROWS="22%,*" cols="*" frameborder="no"  >
      <
    FRAME SRC="index1.php" NAME=TITLE SCROLLING=NO frameborder="no" noresize>
      
        <
    FRAME src="index2.php"  NAME="mainpage" SCROLLING=NO frameborder="no"   noresize
      </
    FRAMESET
    so what ive did in the TITLE frame is where i kept the sign in form always there so if ur signed in or out its from there
    and the main is where things view below like profile and main but i cant exchange variables ??

  2. #2
    SitePoint Enthusiast
    Join Date
    Sep 2002
    Location
    Hamburg
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    start session in framesets

    hi haidoura,

    you have to start the session one every page (php file)
    you want to have the session variables available.

    Karsten


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
  •