I didn't know you could do it via individual page properties. The method I
use is:
<%
dim myname
dim i
myname = Request.ServerVariables("SCRIPT_NAME")
i = instr(myname, ">")
if i > 0 then myname = left(myname, i-1)
do while left(myname,1) = "/"
myname = mid(myname, 2)
loop
if ucase(Request.ServerVariables("HTTPS")) = "OFF" then
response.redirect https://<siteurl>/ & myname
end if
%>
The <siteurl> is the base of the current page.
By putting this code before any HTML code on the ASP page, the ASP page will
only show with SSL. If the user cancels the certificate or security switch,
the previous page will remain the current page.
Mike Ober.
"Splatter" <me@me.net> wrote in message
news:nK****************@news.uswest.net...
Individual items have a security tab as well. Right click the page inside
the IIS snap in & go to properties. Click the security tab, edit the cert,
and check off the only allow ssl connections. The individual settings
override the global ones.
HTH
DP
"John McDermidt" <jmcdt73_at_msn.com> wrote in message
news:OY**************@tk2msftngp13.phx.gbl... Is there a way to use HTTPS only on certain pages? I have two pages that
I want to use my SSL Cert, but the rest of the files I do not... they are
all in the same folder, and I can not move them.