Results 1 to 2 of 2

Thread: Redirect problem with FF3

  1. #1
    Join Date
    Feb 2006
    Posts
    236
    Thanks
    8
    Thanked 3 Times in 3 Posts

    Default Redirect problem with FF3

    I have a redirect problem in FF3, but not FF2. The error is seen as this:
    The browser has stopped trying to retrieve the requested item. The
    site is redirecting the request in a way that will never complete.

    * Have you disabled or blocked cookies required by this site?
    * NOTE: If accepting the site's cookies does not resolve the
    problem, it is likely a server configuration issue and not your
    computer.
    In my first page, I'm starting a session, passing a variable to a second page and doing something, then going back to the first page (or elsewhere). The first page is redirecting to the second with:
    Code:
        header("Location: /prd/firsttsk.php");
    and the second page redirecting with:
    Code:
    	header("Location: /prd/" . $_SESSION['page'] . "/index.php");
    The document root structure, in Linux Apache is /var/www/html, so the base from the URL is /html. I've tried other paths, but I either get session reset because the URL's are different, or other path problems, and haven't found a combination that works with FF3. I must be doing something wrong, although a search on the web uncovers may other users having redirect problems with FF3. How should I change my code so it works with all browsers?

  2. #2
    Join Date
    Jul 2006
    Posts
    497
    Thanks
    8
    Thanked 70 Times in 70 Posts

    Default

    Are both of those redirects unconditional? Better yet, can we see all relevant parts (or all) of the PHP?
    -- Chris
    informal JavaScript student of Douglas Crockford
    I like wikis - a lot.

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
  •