Velocity Reviews

Velocity Reviews (
-   ASP .Net (
-   -   Re: Switching Between HTTP and HTTPS (

Jerry III 10-15-2003 07:33 AM

Re: Switching Between HTTP and HTTPS
HttpRequest.IsSecureConnection doesn't work for you?


"Kenneth Keeley" <> wrote in message
> Hi
> I wish to have a web site that has most of the pages as normal HTTP

> but has some areas that use HTTPS. I want to have it that if a user

> a link to a HTTPS page that they go there an there Session Information is
> kept. I also wish to have the pages switch automatically to HTTPS if a
> visitor types the URL without the HTTPS. So my questions are:
> 1) How to redirect to a Secure Page without losing Session Info?
> 2) How to test if page is accessed by HTTPS, and if not switch to

> quickly?
> I think something like this code is what I want but how do I do it.
> <%
> if not "HTTPS" then
> response.redirect(
> end if
> %>
> Thanks for the help.
> Kenneth Keeley

All times are GMT. The time now is 11:34 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.