ASP网站 - 检测本地Intranet [英] ASP web site - Detect local intranet

查看:59
本文介绍了ASP网站 - 检测本地Intranet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果网站需要在用户本地Intranet站点(如果IE)中正常运行。有没有办法检测到这个?

当不在本地内部网时,该网站表现得很奇怪,而且我还没有找到一种可控制的方式来检查该网站是否在本地内部网中。它当然很容易检查IE设置,但我希望能够给用户反馈,以便他们可以自己解决这个

If a web site needs to be in the users local intranet sites (if IE) to function properly. Is there any way to detect this?
When not in local intranet the site behaves strangely and I have not found a controlled way of checking if the site is in local intranet. It's of course easy to check in IE settings, but I would like to be able to give users feedback so that they can fix this themselves!

有人有想法吗? :)

谢谢!

 

推荐答案

实际上:如果主机名包含点,则站点不在本地Intranet中,否则站点是本地Intranet。
Practically: If the host name contains a dot, site is not in local intranet otherwise site is local intranet.


这篇关于ASP网站 - 检测本地Intranet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆