Forum Moderators: phranque

Message Too Old, No Replies

https:// Secure site? links point to http://

         

XtendScott

3:42 am on May 11, 2004 (gmt 0)

10+ Year Member



I have a shared SSL certificate and have a secure login area [hostdomain.com...] And when we login to the site I have the sercure LOCK symbol. But my links point to [hostdomain.com...] My links actually are just pointing to page.htm?variable=myvar.

It is not browser specific as it is the same in IE and Firebird.

How do you keep links in the secure area without hardcoding https:// in all the links?

choster

2:39 pm on May 11, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



AFAIK, you have to hard code all the links.

john_k

2:50 pm on May 11, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you don't include a protocol, then the protocol that was used for the current page will be used. If you are in fact looking at a page obtained via https (https shows in the URL address), and the links are pointing to http, then you have already hard-coded it to use http.

XtendScott

10:47 pm on May 11, 2004 (gmt 0)

10+ Year Member



sorry for the clarity of the previous post.

I have relative links with just the page.htm not including the [domain.com...]

In the login page I have the little lock symbol. After I login the address bar displays [domain.com...] but the lock symbol is gone.

I am not sure what could affect this.