Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP and SSL

Status
Not open for further replies.

2D

IS-IT--Management
Aug 15, 2002
32
US
I'm attempting to add SSL certification to one of my web pages. This web uses an asp page to grab the client's IP address, and then is later written to a database. If I call this web page using a https link I'm asked if I want to display the non-secure items. If I answer no, I get the padlock but I don't get the results from the asp. If I answer yes, I get the results from the asp but the padlock isn't displayed. Some how I need to add the https code to the asp, Can anyone help.
The page that calls the asp contains the following code.

<script>
document.buffer.location.href=&quot;</script>

ip.asp contains the following code


<%
LOGIN_IP=request.servervariables(&quot;remote_addr&quot;)
response.write login_ip
%>

<script>
parent.document.form1.T_LOGIN_IP.value=&quot;<% = login_ip %>&quot;
// parent.document.frames.buffer.location.href=
</script>


Thanks
 
When I clicked on your link, it had a &quot; in the href.
 
You've probably solved this problem by now, but you have to make sure that any references on your SSL page contain the full https:// reference. I ran into this with graphics that i had not used the full path reference on the page. I couldnt figure out why some worked and others didnt until i solved that problem. So, for example if you have even ONE reference to a gif, or jpg that does not include the full https: file string, you will get the secure/non secure items error.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top