After Logout from application Browser backward and forward button problem

Hi we are using spring security logout in our application it is working fine.But after logout suppose if press forword and backword button of browser(chrome) it is redirecting to next page (home page) it is vaadin problem or spring security problem i m not sure .how to solve this .Thanks in advance-_- -

So you are in your home page, you navigate to the vaadin application and then press the back button. As a result you get back to your home page. Sounds like what the back button should do.

No ,I mean i will navigate to vaadin application from my Login page then i will logout, after logout and then pressing forward button (browser) it taking me into application without identifing username and password .i want to prevent it how can i achieve this.