Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > HTTPS to HTTP

Reply
Thread Tools

HTTPS to HTTP

 
 
Raymond Tam
Guest
Posts: n/a
 
      08-05-2003
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
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?

 
Reply With Quote
 
 
 
 
Rad
Guest
Posts: n/a
 
      08-05-2003

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


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



 
Reply With Quote
 
 
 
 
Carl Prothman [MVP]
Guest
Posts: n/a
 
      08-06-2003
"Raymond Tam" <> 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
> https://a.aspx). 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
http://www.able-consulting.com


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



 
Reply With Quote
 
Marco Scheel
Guest
Posts: n/a
 
      08-06-2003
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" <> schrieb im Newsbeitrag
news:02f301c35b97$b07f06d0$...
> 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
> 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?
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP SOAP/HTTP GET/HTTP POST milan_9211 Software 0 01-10-2011 02:10 PM
server side redirect https => https NOT working Axel ASP General 8 04-27-2009 02:02 AM
https authentication & storing https page in string Naveen Dhanuka Ruby 1 09-19-2007 02:05 PM
open-uri and HTTPS, or net/https with a redirect jotto Ruby 4 10-02-2006 07:26 AM
HTTP to HTTPS aftab ASP .Net 2 10-03-2004 06:21 PM



Advertisments
 



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