飞机横滚:global.asa用法

来源:百度文库 编辑:神马品牌网 时间:2024/04/30 07:34:26
global.asa中:
Sub Session_OnStart
startPage = "/default.asp"
currentPage = Request.ServerVariables("SCRIPT_NAME")

if strcomp(currentPage,startPage,1) then
Response.Redirect(startPage)
end if
End Sub
--------------
运行后不能改变我访问的地址,没有跳转到default.asp中,哪个前辈指点一下。

default.asp,你可以把它改为index.asp