如何用asp 来判断http状态

来源:百度知道 编辑:UC知道 时间:2024/05/14 04:47:35
如何用asp 来判断http状态

因为我做页面里用iframe 嵌入其他网页 可是我有时些网页就打不开了

我能不能用asp写程序来判断一下http的状态呢??

用Request.ServerVariables (server_variable)
Server Variables
Variable Description 描述
ALL_HTTP Returns all HTTP headers sent by the client. Always prefixed with HTTP_ and capitalized
返回所有由用户发送的HTTP头部信息。以HTTP_大写为头
ALL_RAW Returns all headers in raw form
返回所有未处理表单的头部
APPL_MD_PATH Returns the meta base path for the application for the ISAPI DLL
APPL_PHYSICAL_PATH Returns the physical path corresponding to the meta base path
返回物理路径,相当于meta的base路径
AUTH_PASSWORD Returns the value entered in the client's authentication dialog
返回进入到客户端的验证对话值
AUTH_TYPE The authentication method that the server uses to validate users
服务器使用的用户验证方法
AUTH_USER Returns the raw authenticated user name
返回验证未处理的用户名
CERT_COOKIE Returns the unique ID for client certificate as a string
返回唯一的客户证书字符串
CERT_FLAGS bit0 is set to 1 if the client certificate is present and bit1 is set to 1 if the cCertification authority of the