Hi,

I want to remove login page from browser cache after user logs in. I am
using the code :

protected void setHeaders(WebResponse response) {

                *response.setHeader("Pragma", "no-cache");
                response.setHeader("Expires", "0");
                response.setHeader("Cache-Control",
                                "no-cache, max-age=0, must-revalidate, 
no-store");*
        }

But it is not working. *Even I have tried the changes given in *

https://cwiki.apache.org/WICKET/caching-in-wicket-15.html
*https://cwiki.apache.org/WICKET/caching-in-wicket-15.html* 

What I am missing??

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/setHeaders-not-working-in-1-5-tp4649796.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to