在Classic Asp中检测是否已修改 [英] Detecting if modified since in Classic Asp

查看:73
本文介绍了在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 using
Request.ServerVariables("HTTP_IF_MODIFIED_SINCE") in classic ASP. But I am
unable to get anything from this, this variable is always empty. It is also
excluded 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.

推荐答案

它在Request.ServerVariables(" ALL_RAW")中

< a rel =nofollowhref =http://neural.cs.nthu.edu.tw/jang/sandbox/asp/examples/request5.asptarget =_ blank> http://neural.cs.nthu .edu.tw / jang / sa ... s / request5.asp


" Simon" < Si *** @ discuss.microsoft.com在留言新闻中写道:1E ********************************* * @ microsof t.com ...
it''s in Request.ServerVariables("ALL_RAW")

http://neural.cs.nthu.edu.tw/jang/sa...s/request5.asp

"Simon" <Si***@discussions.microsoft.comwrote in message news:1E**********************************@microsof t.com...




我试图读取html标题''如果修改因为''在经典ASP中使用

Request.ServerVariables(" HTTP_IF_MODIFIED_SINCE")。但是我没有得到任何东西,这个变量总是空的。当我尝试列出所有服务器变量时,它也被排除在外。我们正在使用IIS6。


所以请有人确认一下语法正确吗?


干杯,


西蒙。
Hi

I am trying to read the html header ''if modified since'' by using
Request.ServerVariables("HTTP_IF_MODIFIED_SINCE") in classic ASP. But I am
unable to get anything from this, this variable is always empty. It is also
excluded 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.



Simon写道:
Simon wrote:



我试图通过在经典ASP中使用

Request.ServerVariables(" HTTP_IF_MODIFIED_SINCE")来阅读html标题''如果修改了''。但是

我无法从中得到任何东西,这个变量总是空的。

当我尝试列出所有服务器变量时,它也被排除在外。我们

正在使用IIS6。


所以请有人确认一下语法正确吗?
Hi

I am trying to read the html header ''if modified since'' by using
Request.ServerVariables("HTTP_IF_MODIFIED_SINCE") in classic ASP. But
I am unable to get anything from this, this variable is always empty.
It is also excluded when I try to list all the server variables. We
are using IIS6.

So please can someone confirm what is the correct syntax?



那不是标准的标题,因此在列出所有服务器变量时都不会包含它(我假设你做了类似的事情:
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 listing
all 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.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don''t check it very often. You will get a
quicker response by posting to the newsgroup.


嗨Bob,


已经在webmasterworld上看了,我发现了以下内容

Request.ServerVariables(" HTTP_IF_MODIFIED_SINCE")


但这不可能是正确


-

干杯,


Simon。

" Bob巴罗斯[MVP]"写道:
Hi Bob,

Already looked on webmasterworld and that''s where I found the following
Request.ServerVariables("HTTP_IF_MODIFIED_SINCE")

But this can''t be correct

--
Cheers,

Simon.
"Bob Barrows [MVP]" wrote:

Simon写道:
Simon wrote:




我试图通过在经典ASP中使用

Request.ServerVariables(" HTTP_IF_MODIFIED_SINCE")来阅读html标题''如果修改了''。但是

我无法从中得到任何东西,这个变量总是空的。

当我尝试列出所有服务器变量时,它也被排除在外。我们

正在使用IIS6。


那么有人可以确认一下语法正确吗?
Hi

I am trying to read the html header ''if modified since'' by using
Request.ServerVariables("HTTP_IF_MODIFIED_SINCE") in classic ASP. But
I am unable to get anything from this, this variable is always empty.
It is also excluded when I try to list all the server variables. We
are using IIS6.

So please can someone confirm what is the correct syntax?



这不是一个标准的标题,因此在列出所有服务器变量时都不会包含它(我假设你已经完成了)类似这样的事情:
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 listing
all 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.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don''t check it very often. You will get a
quicker response by posting to the newsgroup.


这篇关于在Classic Asp中检测是否已修改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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