The same user in the ASP program does not allow the same number to log in.

xiaoxiao2021-03-06  98

Login page Login.asp:

<%

IF Request.form.count> 0 THEN

Session ("UserName" = Request ("UserName")

Application (SESSION ("UserName") = session.sessionID

Response.Redirect ("INDEX.ASP")

END IF

%>

Other pages that need to be authenticated index.asp:

<%

IF Application ("" "") = session.SessionId THEN

Response.write ("Losted")

Else

Response.write ("No Landing")

END IF

%>

转载请注明原文地址:https://www.9cbs.com/read-95975.html

New Post(0)