An article on automatically switching between HTTP and HTTPS protocols without hard-coding absolute URLs.
[url]http://www.thecodeproject.com/aspnet/WebPageSecurity_v2.asp[/url]
[url]http://www.thecodeproject.com/aspnet/WebPageSecurity.asp[/url]
[url]http://www.thecodeproject.com/aspnet/WebPageSecurity_v2.asp[/url]
[url]http://www.thecodeproject.com/aspnet/WebPageSecurity.asp[/url]
本文转自 张善友 51CTO博客,原文链接:http://blog.51cto.com/shanyou/75077,如需转载请自行联系原作者