Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default HTTPS to HTTP

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

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

    Raymond Tam Guest

  2. Similar Questions and Discussions

    1. Switching Between HTTP and HTTPS
      Hi I wish to have a web site that has most of the pages as normal HTTP pages but has some areas that use HTTPS. I want to have it that if a user...
    2. http to https
      Is there a coldfusion function that determines the gives me the protocol of the address bar(http, https) .I tried GetHttpRequestData, but I do not...
    3. [PHP] PHP won't parse under https, but will with http
      >> Is this a virtual host ? How did you define the AddType in httpd.conf ? Yes. And I believe our AddTypes are set for each v-host. In this case,...
    4. PHP won't parse under https, but will with http
      I'm not sure if this is the right forum for this question, but I'm hoping someone can help nonetheless. :) I installed an SSL Cert. on a site the...
    5. Switching to and from http and https
      hello all. currently, this is how a line of my form is setup (names have been changed to protect the innocent ;) <form...
  3. #2

    Default Re: HTTPS to HTTP

    > Can anyone advise how to deal with this? Is it .NET bug?
    I dont' think so.... there may be something else going on...



    Rad Guest

  4. #3

    Default Re: HTTPS to HTTP

    "Raymond Tam" <rtam@omac.com> wrote
    > When I am using server-side button to switch from https to
    > http by using response.redirect "http://a.apsx" in
    > response to the client event, I am still at the https
    > environment (ie. the address bar on the IE is
    > [url]https://a.aspx[/url]). However, when using hyperlink control,
    > there is no mis-representation.
    >
    Try including the complete URL (include the server or domain name).

    --

    Thanks,
    Carl Prothman
    Microsoft ASP.NET MVP
    [url]http://www.able-consulting.com[/url]

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

    Carl Prothman [MVP] Guest

  5. #4

    Default 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.com> schrieb im Newsbeitrag
    news:02f301c35b97$b07f06d0$a501280a@phx.gbl...
    > When I am using server-side button to switch from https to
    > http by using response.redirect "http://a.apsx" in
    > response to the client event, I am still at the https
    > environment (ie. the address bar on the IE is
    > [url]https://a.aspx[/url]). However, when using hyperlink control,
    > there is no mis-representation.
    >
    > Can anyone advise how to deal with this? Is it .NET bug?
    >

    Marco Scheel Guest

Posting Permissions

  • You may not post new threads
  • You may 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