asp.net tutorials
Thursday, 22 August 2013
How to check the protocol of web page is HTTP or HTTPS
Inside .aspx.cs:
Request.IsSecureConnection
Outside .aspx.cs means in custom class:
HttpContext.Current.Request.IsSecureConnection
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment