On of my developers came up with this short JavaScript to ensure the user is hitting HTTPS:
<SCRIPT type=text/javascript> <!-- if (location.protocol != 'https:') { window.location = 'https://'+ location.host + location.pathname + location.search; } // --> </SCRIPT> I'm sure there is a way of doing this via C#. -Pete On Mon, May 19, 2008 at 3:50 AM, Paul Cowan <[EMAIL PROTECTED]> wrote: > Hi all,I have a site that needs to run over HTTPS. I have installed the > certificate on the server and I can access the site over HTTPS. > The problem is that I can still hit the site over HTTP. > How can I ensure that the all HTTP requests will be redirected to HTTP? > > Can I do it without code or do I have to write an HTTP Module or > something.Thanks > [EMAIL PROTECTED] > _________________________________________________________________ > > http://clk.atdmt.com/UKM/go/msnnkmgl0010000007ukm/direct/01/ > =================================== > This list is hosted by DevelopMentor(R) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com