Hi Cameron,

I do this by checking the port used to get the page (http=80, https=443) in the 
onBeforeLoad event for the page.

  int iPortNumber;
  
  iPortNumber = CSpider.getWebEnvVar(CSpVars.SERVER_PORT).intValue();
  
  if (iPortNumber != 443) // if not SSL connexion
  {
   load("pgErrorNonSecure");
   return(STOP);
  }

Regards,
Olivier Demey.

"Cameron Ranford" <[EMAIL PROTECTED]> wrote:
>
>How do I go about selectively encrypting and enforcing a secure channel on some 
>project pages and not others. ie
>
>http://www.blah.com/scripts/ndisapi.dll/splat
>https:/www.blah.com/scripts/ndisapi.dll/Sensitive.
>
>I can create a virtual directory on the Web Server and require a secure channel on 
>the virtual directory like this:
>
>https://www.blay.com/secure/scripts/ndisapi.dll/Sensitive.
>
>But I believe if I use http instead of https and drop the virtual directory out of 
>the url it will still work .
>
>Any thoughts.
>
>TIA
>Cam
>

_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to