单项选择题
若要获得当前正在执行的脚本所在页面的虚拟路径,以下用法中,正确的是()。
A.Requst.ServerVariables(“SCRIPT_NAME”)
B.Response.ServerVariables(“SCRIPT_NAME”)
C.Requst.ServerVariables(“PATH_TRANSLATED”)
D.Response.ServerVariables(“PATH_TRANSLATED”)
点击查看答案&解析
相关考题
-
单项选择题
若要获得名为username的Cookie值,以下语句正确的是()。
A.Requst.Cookie(“username”)
B.Requst.Cookies(“username”)
C.Response.Cookie(“username”)
D.Response.Cookies(“username”) -
单项选择题
在服务器端,若要将页面导航到index.asp,应使用Response对象的()方法来实现。
A.href
B.Transfer
C.Redirect
D.Flush -
单项选择题
用于设置页面过期的时间为2分钟,以下语句用法中,正确的说法是()。
A.Request.Expires=2
B.Response.Expires=2
C.Request.ExpireAbslute=2
D.Response.ExpireAbslute=2
