BeanSoftware Logo
 

 
ASP.NET Database Search Control
 
 

 
 Home
    Shop
    Advertise
    Write For Us
    Affiliate
    Newsletter
    Contact

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

FAQ toolbar: Submit FAQ  |  Tell A Friend  |  Add to favorites  |  Feedback



Copyright © 2002-2008 Bean Software. All rights reserved.