How To Detect Is Visitor Using Secure (HTTPS) Connection?
To find out is visitor using secure (HTTPS) connection to access to ASP.NET web site, you can use IsSecureConnection property of Request object, with code like this:
[ C# ]
bool SecureConnection = Request.IsSecureConnection;
[ VB.NET ]
Dim SecureConnection As Boolean = Request.IsSecureConnection
Related articles:
1. How To Get Web Site Thumbnail Image In ASP.NET
Copyright © 2002-2008 Bean Software. All rights reserved.