I am trying to implement security in an application using GRAILS. I am checking the username and password entered by the user with the database stored data. For a valid user access is given to a perticular portal. The problem is that the user can access the pages after logging out of the application. The user can use the "back " button of the browser and can access the recently visited pages in a perticular login. I downloaded the plug-in and made the changes in the Config.groovy file. But still the security feature doesn't work and the user can access the application after logging out.
Changed the Config.groovy
// Prevent any client side caching for now
cache.headers.enabled = false
Also, I tried to set cache false in the method which is called for a perticular page.
Still could not restrict the user viewing the pages of a perticular login using back button after logout