[合集] How to tell if a connection is http or https?# DotNet - 窗口里的风景
l*s
1 楼
☆─────────────────────────────────────☆
Dintern (.Net newbie) 于 (Tue Jan 23 17:01:41 2007) 提到:
I need to check if the server is using an SSL connection inside an
aspx page. Is there an api or property that shows it directly?
☆─────────────────────────────────────☆
a9 (嗯) 于 (Tue Jan 23 17:55:38 2007) 提到:
if the uri is start with http then it's http
if the uri is start with https then it's https
☆─────────────────────────────────────☆
gravy (不过...) 于 (Wed Jan 24 10:03:55 2007) 提到:
Dintern (.Net newbie) 于 (Tue Jan 23 17:01:41 2007) 提到:
I need to check if the server is using an SSL connection inside an
aspx page. Is there an api or property that shows it directly?
☆─────────────────────────────────────☆
a9 (嗯) 于 (Tue Jan 23 17:55:38 2007) 提到:
if the uri is start with http then it's http
if the uri is start with https then it's https
☆─────────────────────────────────────☆
gravy (不过...) 于 (Wed Jan 24 10:03:55 2007) 提到: