Monday, November 10, 2008

Grails - Acegi -- Set After Logout page

Crate a new action with the following code:


import javax.servlet.http.HttpSession

class LogoutController {

...

action {
HttpSession s = request.getSession()
s.invalidate()
redirect(controller:"itemPrice", action:"listDOA") // this is the new after
}
}

No comments: