要想透过代理服务器取得客户端的真实IP地址,就要使用 Request.ServerVariables("HTTP_X_FORWARDED_FOR") 来读取。不过要注意的事,并不是每个代理服务器都能用 Request.ServerVariables("HTTP_X_FORWARDED_FOR") 来读取客户端的真实 IP,有些用此方法读取到的仍然是代理服务器的IP。还有一点需要注意的是:如果客户端没有通过代理服务器来访问,那么用 Request.ServerVariables ("HTTP_X_FORWARDED_FOR") 取到的值将是空的。阅读全文>
发表于 @ 2006年03月02日 11:02:00|评论(loading...)|编辑|收藏
本文列出了各种 80004005 错误信息、导致错误信息的最常见原因以及解决问题的疑难解答步骤。收到 80004005 错误的是 Active Server Pages 中的 Microsoft 数据访问组件 (MDAC),其中包括 Microsoft ActiveX 数据对象 (ADO)、OLE DB 以及远程数据服务 (RDS)。虽然本文假定您是在 Active Server Pages (ASP) 页中使用 ADO,但是导致错误的原因以及许多疑难解答步骤适用于任何使用 ODBC 进行数据访问的环境。阅读全文>
发表于 @ 2006年01月20日 11:36:00|评论(loading...)|编辑|收藏
ADO 流对象指内存中的一个文件。此流对象包含用于读写二进制文件和文本文件的几种方法。当此项特意设计的功能与 Microsoft Internet Explorer 中的已知安全漏洞组合后,Internet 网站就可以从本地计算机区域执行脚本。出现此问题的原因是,当 Internet Explorer 中存在 ADODB.Stream 对象时,ADODB.Stream 对象允许对硬盘进行访问。阅读全文>
发表于 @ 2006年01月20日 11:29:00|评论(loading...)|编辑|收藏
近来在一个web项目中,客户提出需要在试听的音频文件中,输入开始时间和结束时间,然后从开始时间播放,到结束时间停止。在google中搜索了几次,都找不到相关的文档,只有自己进行研究了。 阅读全文>
发表于 @ 2006年01月19日 14:52:00|评论(loading...)|编辑|收藏
When you instantiate a Visual Basic component from an Active Server Pages (ASP) page, you may receive the following error:
Server object error 'ASP 0178 : 80070005'
Server.CreateObject Access Error
The call to Server.CreateObject failed while checking permissions. Access is denied to this object. 阅读全文>
发表于 @ 2005年12月21日 13:57:00|评论(loading...)|编辑|收藏
当您浏览到您的 WebClass 应用程序(Internet Information Server 应用程序)时,您会在浏览器中收到以下错误信息:
Server object error 'ASP 0177 :800401f3'
Server.CreateObject failed
YourWebClass.asp, line 8
Invalid class string
其中第 8 行包含以下代码: Set Application("~WC~WebClassManager") = Server.CreateObject("WebClassRuntime.WebClassManager")
阅读全文>
发表于 @ 2005年12月21日 13:55:00|评论(loading...)|编辑|收藏
When you try to view an ASP page after you have installed Microsoft Visual Studio 6.0 Service Pack 6 (SP6), you may receive the following error message in your Web browser window:
HTTP 500 - Internal server error
Additionally, the following warning message may be logged in the system event log:
The server failed to load application '/LM/W3SVC/1/ROOT'. The error was 'General access denied error'
阅读全文>
发表于 @ 2005年12月20日 18:06:00|评论(loading...)|编辑|收藏