L
lilacky
Unregistered / Unconfirmed
GUEST, unregistred user!
IIS Server中SESSION的timeOut时间设置为30分中.
但是ASP画面操作时,没到SESSION timeOut时间(小于30分中)时,也突然跳到LOGIN画面.
环境: ASP, IIS6.0
SESSION设置:
global.asa文件里
Sub Session_OnStart
' process at first user request to website
Dim URLs, page
URLs = Split(Request.ServerVariables("SCRIPT_NAME", "/"
page = LCase(URLs(UBound(URLs)))
If page <>
"login.asp"
And page <>
"usercheck.asp"
And page <>
"loginerror.asp"
then
Response.Redirect "/login.asp"
Response.End
End If
End Sub
这个问题十分棘手, 有知道的朋友请尽快回答好吗?
谢谢!
但是ASP画面操作时,没到SESSION timeOut时间(小于30分中)时,也突然跳到LOGIN画面.
环境: ASP, IIS6.0
SESSION设置:
global.asa文件里
Sub Session_OnStart
' process at first user request to website
Dim URLs, page
URLs = Split(Request.ServerVariables("SCRIPT_NAME", "/"
page = LCase(URLs(UBound(URLs)))
If page <>
"login.asp"
And page <>
"usercheck.asp"
And page <>
"loginerror.asp"
then
Response.Redirect "/login.asp"
Response.End
End If
End Sub
这个问题十分棘手, 有知道的朋友请尽快回答好吗?
谢谢!