You could also check on the CGI.SERVER_PORT if 80 (http) or 443 (https)
Ahmed.
-----Original Message-----
From: Tim Starling [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 22, 2005 2:05 PM
To: Dallas/Fort Worth ColdFusion User Group Mailing List
Subject: RE: [DFW CFUG] check for https

Thanks!  I will check that out.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shuck
Sent: Thursday, December 22, 2005 2:03 PM
To: Dallas/Fort Worth ColdFusion User Group Mailing List
Subject: Re: [DFW CFUG] check for https

 

I think I have used cgi.port_secure before, but there is a thread here on this exact topic.  I haven't used it, but someone suggested #cgi.https#

http://www.houseoffusion.com/cf_lists/messages.cfm/forumid:25/threadid:101?subject=Detecting%20HTTPS

On 12/22/05, Tim Starling < [EMAIL PROTECTED]> wrote:

Is there an easy way to check the url of the current page and if it is not https reload the page making the current page https:// ?

 

Thanks,

Tim

 

Tim Starling
Project Manager
Global Aid Network
A ministry of Campus Crusade for Christ International
972-234-0800, extension 1335
www.gainusa.org

 


This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal - For more information please visit www.marshalsoftware.com



_______________________________________________
Reply to DFWCFUG:
 [email protected]
Subscribe/Unsubscribe:
 http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
  http://lists1.safesecureweb.com/mailman/private/list
  http://www.mail-archive.com/list%40list.dfwcfug.org/
 http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors:
 www.HostMySite.com
  www.teksystems.com/




--
~Dave Shuck
[EMAIL PROTECTED]
www.daveshuck.com


This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal - For more information please visit www.marshalsoftware.com

CONFIDENTIALITY NOTICE: The information contained in this e-mail and attached document(s) may contain confidential information that is intended only for the addressee(s). If you are not the intended recipient, you are hereby advised that any disclosure, copying, distribution or the taking of any action in reliance upon the information is prohibited. If you have received this e-mail in error, please immediately notify the sender and delete it from your system.
_______________________________________________
Reply to DFWCFUG: 
  [email protected]
Subscribe/Unsubscribe: 
  http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives: 
  http://lists1.safesecureweb.com/mailman/private/list 
  http://www.mail-archive.com/list%40list.dfwcfug.org/             
  http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors: 
  www.HostMySite.com 
  www.teksystems.com/

Reply via email to