Professional Web Applications Themes

Problem with header redirection but only with IE - PHP Development

Can anyone help with a problem I am having regarding redirection. I'm using the following call to redirect users to a site and automatically enter the required login name and pass for the target site: header("Location: $link"); exit(); where $link is something like: "http://name:address.com" The function works perfectly when I use Firefox but fails when I use IE. If I just paste the target website address into IE the link works so the problem seems only to occur when I'm redirecting to an http address that has the name and password embedded and I'm using IE. Can anyone help solve ...

Sponsored Links
  1. #1

    Default Problem with header redirection but only with IE

    Can anyone help with a problem I am having regarding redirection.

    I'm using the following call to redirect users to a site and
    automatically enter the required login name and pass for the target
    site:

    header("Location: $link");
    exit();

    where $link is something like:
    "http://name:address.com"

    The function works perfectly when I use Firefox but fails when I use IE.
    If I just paste the target website address into IE the link works so the
    problem seems only to occur when I'm redirecting to an http address that
    has the name and password embedded and I'm using IE.

    Can anyone help solve the problem? (p.s. I dont't want to use
    javascript)

    Thanks in advance.




    Sponsored Links
    Ian Guest

  2. #2

    Default Re: Problem with header redirection but only with IE

    Ian wrote: 

    Hi Ian,
    Looks like Microsoft disabled that format in one of the security updates
    - some detail here:
    http://support.microsoft.com/default.aspx?scid=kb;en-us;834489

    Regards, Andy
    Andy Guest

  3. #3

    Default Re: Problem with header redirection but only with IE

    .oO(Ian)
     

    Login and password are not allowed in HTTP URLs.

    Micha
    Michael Guest

Similar Threads

  1. Redirection Problem
    By Topspin in forum PHP Programming
    Replies: 4
    Last Post: February 2nd, 07:16 AM
  2. Passport Redirection Problem.
    By Munna in forum ASP.NET Security
    Replies: 2
    Last Post: July 14th, 10:06 AM
  3. header() redirection/session variable problem
    By Nick Whitelegg in forum PHP Development
    Replies: 1
    Last Post: September 17th, 07:39 PM
  4. some kind of redirection (not the header function)
    By Juan Nin in forum PHP Development
    Replies: 6
    Last Post: September 13th, 10:12 PM
  5. Problem with redirection in a Form...
    By Calvin in forum ASP
    Replies: 2
    Last Post: July 15th, 01:57 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139