How to force the link to the login page to be https?

Dec 4, 2009 at 3:18 PM

I want to have the links to the login page always be https.

Can anyone tell me how I can do this?

May 28, 2010 at 12:28 PM

Check out Switching Between HTTP and HTTPS Automatically: Version 2 By Matt Sollars.  I've used this solution in a production application for several years.  It works great and I'm planning on integrating it in three BlogEngine sites in the next week.  One in which I plan on having full site security (authenticated user & SSL) and the other two where login forces SSL use.  I will try to post a blog solution in two weeks on the solutions.

 http://www.codeproject.com/KB/web-security/WebPageSecurity_v2.aspx#whatsnew