I have a web site where I want to make the pages secures.ie. I want to redirect my pages to https.I have tried this doing so by making a self signed certificate and using response.redire ct("https://myWebsite/SecuredPage.asp x") and it ran out well.
But my problem is that I want to do this through the web.config file so that even if i want to secure full site or any particular page, I am able to do so at any time.
Using the concept of switch protocol, my program debugged once. But now its not running. Please help me out with this. Also Is there any way to do this without having to put the absolute address. And also, when I am finished with the secure pages, how do I go back to non-secure? Will that be just by entering the address again just as http:// ?
But my problem is that I want to do this through the web.config file so that even if i want to secure full site or any particular page, I am able to do so at any time.
Using the concept of switch protocol, my program debugged once. But now its not running. Please help me out with this. Also Is there any way to do this without having to put the absolute address. And also, when I am finished with the secure pages, how do I go back to non-secure? Will that be just by entering the address again just as http:// ?
Comment