本文介绍了在Classic Asp中检测是否已修改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 嗨 我试图通过使用 Request.ServerVariables(" HTTP_IF_MODIFIED_SINCE")来阅读html标题''如果修改了''在经典的ASP中。但是我没有得到任何东西,这个变量总是空的。当我尝试列出所有服务器变量时,它也被排除在外。我们正在使用IIS6。 所以请有人确认一下语法正确吗? 干杯, Simon。 Hi I am trying to read the html header ''if modified since'' by usingRequest.ServerVariables("HTTP_IF_MODIFIED_SINCE") in classic ASP. But I amunable to get anything from this, this variable is always empty. It is alsoexcluded when I try to list all the server variables. We are using IIS6. So please can someone confirm what is the correct syntax? Cheers, Simon.推荐答案 那不是标准的标题,因此在列出所有服务器变量时都不会包含它(我假设你做了类似的事情: http://www.aspfaq.com/2036) 。 你可能想要浏览这个帖子: http://www.webmasterworld.com/forum3/6005-2-30.htm - Microsoft MVP - ASP / ASP.NET 请回复新闻组。我的From 标题中列出的电子邮件帐户是我的垃圾邮件陷阱,因此我不经常检查它。通过发布到新闻组,您将获得更快的回复。 That is not a standard header so it will not be included when listingall the server variables (I assume you''ve done something like this: http://www.aspfaq.com/2036). You might want to wade through this thread: http://www.webmasterworld.com/forum3/6005-2-30.htm --Microsoft MVP -- ASP/ASP.NETPlease reply to the newsgroup. The email account listed in my Fromheader is my spam trap, so I don''t check it very often. You will get aquicker response by posting to the newsgroup. 这不是一个标准的标题,因此在列出所有服务器变量时都不会包含它(我假设你已经完成了)类似这样的事情: http://www.aspfaq.com/2036)。 您可能想要浏览这个帖子: http://www.webmasterworld.com/forum3/6005-2-30.htm - Microsoft MVP - ASP / ASP.NET 请回复新闻组。我的From 标题中列出的电子邮件帐户是我的垃圾邮件陷阱,因此我不经常检查它。通过发布到新闻组,您将获得更快的回复。 That is not a standard header so it will not be included when listingall the server variables (I assume you''ve done something like this: http://www.aspfaq.com/2036).You might want to wade through this thread: http://www.webmasterworld.com/forum3/6005-2-30.htm--Microsoft MVP -- ASP/ASP.NETPlease reply to the newsgroup. The email account listed in my Fromheader is my spam trap, so I don''t check it very often. You will get aquicker response by posting to the newsgroup. 这篇关于在Classic Asp中检测是否已修改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
09-27 10:07