CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Secure pages

Print topic Send  topic

Author Message
Randy Lane
Posted: 10/29/2002, 1:30 PM

Does anyone have experience in having select pages set to be secure using the https:// url? I am using CodeCharge 2 and output to ASP. My client has a secure certificate and I need to utilize that when a customer is on the shopping cart page with sensitive information.

Thanks
RonD
Posted: 10/31/2002, 1:49 AM

Hello,
Looks like you should replace all http:// with https://.
The easy way to do it with CC is to redirect user to SSL page if protocol is HTTP. Here is sample ASP code tha could be placed at the Open event of the page.
dim sURL: sURL = ""
if Request.ServerVariables("HTTPS") = "off" then
sURL = "https://"
sURL = sURL & Request.ServerVariables("SERVER_NAME") & _
Request.ServerVariables("SCRIPT_NAME") & "?" & _
Request.ServerVariables("QUERY_STRING")
response.redirect sURL
end if

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.