There are ways you can do this in IIS if you have access...eg.
IIS 6: - Open the Internet Service Manager, then open the Properties for your website.
- Click the Directory Security tab.
- Click Edit in the Secure Communications section.
- Select Require Secure Channel (SSL).
IIS 7:- Select the web site from the left tree menu.
- Double click SSL settings in the main content area.
- Check the Require SSL check box.
Obviously though, these are only going to work if you have control of the server and IIS (most shared hosting environments won't allow this type of control even through their hosting control panels). In this case, then you'll want to configure your site to use https and to never revert to http...then on the default page, and maybe a few of the other pages (depending on which of your pages get the most traffic, add the following line in Page_Load of the codebehind (as long as the pages inherit from SkinBase you don't have to fully qualify the method (eg. SkinBase.RequireSecurePage(); )
Code:
RequireSecurePage();
<a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>