Click here to Skip to main content
15,912,021 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am developing Webapplication.
In that,the user Logon into the system and
If webapplication is running on http port then it will be redirected to https port.
Posted
Updated 12-Mar-12 2:03am
v3
Comments
El_Codero 12-Mar-12 7:53am    
Ahh ok and what is your question?

After you validate their login, use Response.Redirect(UrlOfhttps). You can also configure in IIS that a site require ssl so maybe you have everything but your loginpage in a sub folder and make the subfolder an application and require SSL on it.
 
Share this answer
 
Hi,

I think you should read this articles how to implement/establish HTTPS-Connections.

http://msdn.microsoft.com/en-us/library/ms178329.aspx[^]

Using SSL with IIS 7. Take care that the implementation changed since IIS 6, so it depends on your version.

http://learn.iis.net/page.aspx/144/how-to-set-up-ssl-on-iis/[^]

With Best Regards
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900