![]() |
Sergey Kornilov admin 4/15/2007 |
First of all you need to add a field to login table where logon datetime will be stored (using AfterSuccessfulLogin event) <%if request.form("a")="logout" or request.querystring("a")="logout" then session.Abandon() Response.Cookies("username")="" Response.Cookies("password")="" Response.Redirect "login.asp" response.end end if%> |
A
|
agmoraojr author 4/9/2008 |
hi admin, First of all you need to add a field to login table where logon datetime will be stored (using AfterSuccessfulLogin event) After that modify the following code snippet in login.asp to add the message. |
J
|
Jane 4/10/2008 |
Hi, if request.form("a")="logout" or request.querystring("a")="logout" Response.write "your message" end if |
A
|
agmoraojr author 4/18/2008 |
thank for replying jane Hi, use Login page: Before process event on the Events tab. Here is a sample: |