Automatically switching between HTTP and HTTPS protocols without hard-coding absolute URLs

An article on automatically switching between HTTP and HTTPS protocols without hard-coding absolute URLs

Please see this article at: http://www.codeproject.com/aspnet/WebPageSecurity_v2.asp

  • Email, SSL
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

301 redirect using global.asax.cs

Below is code to do 301 redirect using the global.asax.cs file.   ...

How to create a Virtual Directory

How to create a Virtual Directory (Application for Asp.net) If you need asp.net to...

Cross-Site Scripting in ASP.NET

Cross-Site Scripting in ASP.NET Cross-site scripting attacks exploit vulnerabilities in Web page...

Web.config file does not run

If your web.cofig file doesnt run (Even though the error keeps telling you to modify the...

Redirect old .asp or any non aspx pages using 404

Add this to the System Webserver section in the web.config file to handle any non .aspx...