SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2004
    Location
    Grapevine
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Session / Iframe problem

    I have an iframe-page.html on one server that calls a login.php on another server, which checks users credentials, registers session variables, and redirects to main-menu.php if all successful. Main-menu.php checks for $SESSION_TYPE == 1, if not redirects to error.php.

    All works well if iframe-page.html and login.php are on the same server or using Netscape, but is very inconsistant with IE. IE has a successful login, since it is redirecting to main-menu.php; however, the session variables are not being passed from login.php to main-menu.php.

    tia,
    cmc

  2. #2
    SitePoint Evangelist Aska's Avatar
    Join Date
    Aug 2003
    Location
    Melbourne, Australia
    Posts
    454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not a direct answer to your query, but I'd highly recommend you not using any sort of frames/iframes where cookies/sessions are needed (especially across two servers as is your case!).


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
  •