HTTPS to HTTP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Raymond Tam

    #1

    HTTPS to HTTP

    When I am using server-side button to switch from https to
    http by using response.redire ct "http://a.apsx" in
    response to the client event, I am still at the https
    environment (ie. the address bar on the IE is
    https://a.aspx). However, when using hyperlink control,
    there is no mis-representation.

    Can anyone advise how to deal with this? Is it .NET bug?

  • Rad

    #2
    Re: HTTPS to HTTP

    [color=blue]
    > Can anyone advise how to deal with this? Is it .NET bug?[/color]

    I dont' think so.... there may be something else going on...



    Comment

    • Carl Prothman [MVP]

      #3
      Re: HTTPS to HTTP

      "Raymond Tam" <rtam@omac.co m> wrote[color=blue]
      > When I am using server-side button to switch from https to
      > http by using response.redire ct "http://a.apsx" in
      > response to the client event, I am still at the https
      > environment (ie. the address bar on the IE is
      > https://a.aspx). However, when using hyperlink control,
      > there is no mis-representation.
      >[/color]

      Try including the complete URL (include the server or domain name).

      --

      Thanks,
      Carl Prothman
      Microsoft ASP.NET MVP


      [color=blue]
      > Can anyone advise how to deal with this? Is it .NET bug?
      >[/color]


      Comment

      • Marco Scheel

        #4
        Re: HTTPS to HTTP

        hi,

        thats by design :-) if you redirect the "script" the client won't update the
        adress bar. for that you have to use a javascript or http-meta refresh.

        try the following (with or without https)

        page1.aspx
        -> do a redirect to page2.aspx

        in the adress bar you will still see page1.aspx :-)

        bye marco




        "Raymond Tam" <rtam@omac.co m> schrieb im Newsbeitrag
        news:02f301c35b 97$b07f06d0$a50 1280a@phx.gbl.. .[color=blue]
        > When I am using server-side button to switch from https to
        > http by using response.redire ct "http://a.apsx" in
        > response to the client event, I am still at the https
        > environment (ie. the address bar on the IE is
        > https://a.aspx). However, when using hyperlink control,
        > there is no mis-representation.
        >
        > Can anyone advise how to deal with this? Is it .NET bug?
        >[/color]


        Comment

        Working...