Force SSL ON or OFF Function
When working on a site that may have some pages in SSL (the check out pages) and most pages not I use a function to switch between SSL and Non SSL pages. First, I set the non secure and SSL URL’s in the config file under appSettings: <add key=”SSLURL” value=”https://www.mydomain.com”/> <add key=”NonSSLURL” value=”http://www.mydomain.com”/> Next, in […]