Click here to Skip to main content
13,049,772 members (75,237 online)
Click here to Skip to main content
Add your own
alternative version


677 bookmarked
Posted 27 May 2004

Switching Between HTTP and HTTPS Automatically: Version 2

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


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Matt Sollars
Web Developer
United States United States
I began programming on my Commodore 64 at around the age of 12. After migrating to DOS and then Windows, I decided to take on the Web. Several languages and platforms later, I have settled in with .NET nicely. I am currently the owner of a software consulting company and lead application developer for a learning-based technology consultation company.

The love of a finished application is usually at war with the desire to improve it as soon as it's released (they're never really finished).

| | Privacy | Terms of Use | Mobile
Web01 | 2.8.170713.1 | Last Updated 7 Feb 2011
Article Copyright 2004 by Matt Sollars
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid