This topic is locked

Action Before/after Logout

4/18/2013 12:30:15 PM
ASPRunnerPro General questions
S
silk author

hello, does someone knows how to run cutom code in events after or before logOUT?
I tried the following code on login page:Before process without any luck, I guess the logout process takes place before this event and the user is redirected to login.asp (without ?a=logout)

if request("a") = "logout" then

session.Abandon()

response.cookies("user").expires=now

end if