471,315 Members | 1,544 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,315 software developers and data experts.

Check for a secure site

Hi,

how do i check, if a site is using HTTPS or HTTP?

Regards,
MSK
Jan 27 '06 #1
1 1109
"Mohammed Shafiulla Khadri" <md***********@hotmail.com> wrote in message
news:eK**************@TK2MSFTNGP09.phx.gbl...
how do i check, if a site is using HTTPS or HTTP?


bool blnSecure = (HttpContext.Current.Request.ServerVariables["HTTPS"] ==
"on");
Jan 27 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

27 posts views Thread by mrbog | last post: by
2 posts views Thread by Stephen Bartholomew | last post: by
3 posts views Thread by Vince Mele | last post: by
3 posts views Thread by Just D. | last post: by
1 post views Thread by HIK | last post: by
7 posts views Thread by Robert Seacord | last post: by
14 posts views Thread by knal | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.