• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

issue with logout from struts app

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have an application with logout option, when i click on that it gets logged out, but when i click on back option in the browser then the previous page is appearing which is not suppose to...i have implemented session invalidate and all...still getting the page back, this is happening because of the login.do when back button got hit, how to prevent the page from redirected to the login.do page?

[Edit: removed email address on request]
 
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

viji jeyabalan wrote:i have an application with logout option, when i click on that it gets logged out, but when i click on back option in the browser then the previous page is appearing which is not suppose to...i have implemented session invalidate and all...still getting the page back, this is happening because of the login.do when back button got hit, how to prevent the page from redirected to the login.do page? contact me to the mail id [email protected]



Pay more attention when posting your query. As per my understanding after logout action you have to redirect to login page. Now the user clicking on back button you getting previous page this is happening because of browser cache, Just clear browser cache in logout Action.
 
viji jeyabalan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi mohan, how do i implement that?
 
Mohana Rao Sv
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
refer the following link. Clear Browser chache.
 
passwords must contain 14 characters, a number, punctuation, a small bird, a bit of cheese and a tiny ad.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic