[thelist] ASP, display only when NOT SSL
Ken Schaefer
Ken at adOpenStatic.com
Sat May 28 05:07:34 CDT 2005
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: From: thelist-bounces at lists.evolt.org [mailto:thelist-
: bounces at lists.evolt.org] On Behalf Of Beach Computers
: Subject: [thelist] ASP, display only when NOT SSL
:
: I have an ASP page, which calls to some images
: in an unsecured method. What I need is to put an
: if statement that if the page is using SSL
: (https),
: do not load the images.
: How do I check for SSL.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Response.Write(Request.ServerVariables("HTTPS"))
For the entire collection:
<%
For Each objItem in Request.ServerVariables
Response.Write( _
objItem & " = " & _
Request.ServerVariables(objItem) & _
"<br />" & vbCrLf)
Next
%>
Cheers
Ken
--
www.adOpenStatic.com/cs/blogs/ken/
More information about the thelist
mailing list