s***f 发帖数: 173 | 1 实现了点机BACK BUTTON, PAGE 被提示EXPIRES的功能.有对此功能一直有疑问的,可以来
看看.
Here we go, (FOUR files are required : A.asp B.asp C.asp login.asp by the
way)
A.asp
<%
Response.Buffer = True
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = "no-cache"
If Len(Session("FirstTimeToPage")) > 0 then
'The user has come back to this page after having visited
'it... wipe out the session variable and redirect them back
'to the login page
Session("FirstTimeToPage") = "" |
|