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

 How to setup SSL for CC

Print topic Send  topic

Author Message
mammer
Posted: 09/07/2003, 1:05 PM

I am using codecharge 2.05 on Windows 2000 with ASP and IIS 5.1. How do I configure my application to use SSL and show https:// rather than http://? Please provide step by step instuctions as I am relatively new to codecharge and IIS.
Thanks!
Randy Lane
Posted: 09/07/2003, 1:30 PM

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
Mehmet Ozdemir
Posted: 09/07/2003, 2:51 PM

I find it better to implement the above method in the Seesion_OnStart Event in Global.asa that way i get it out on the way on session startup. If you do this in later on by switching to https: will will get a new session ID all user state info will be lost.

   


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.