• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Logout functionality in struts..

 
Ranch Hand
Posts: 50
Hibernate Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
Well I am working on a application using struts all works fine. But I have a question about Logout functionality.

Right now i am just showing a confirmation page, when Logout is clicked. (Of course here I am not cleaning up session or anything, I am just taking to next page.) But when I click on back button I can still view the previous page. This is what I expected!!

I want it in such a way that when user will logout from system he should not able to get back to the application by clicking back button of the browser.

I am completely new to struts and I am trying a small sample application. I will be very thankful, if anybody can help me in implementing this logout functionality.

Thanks!!
Srik
 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Srik Messmer:


I want it in such a way that when user will logout from system he should not able to get back to the application by clicking back button of the browser.



This is browser specific issue, There are some JavaScript methods , which disable the browsers back button.

This thing is discussed here many time , Just Search the forum with search string as "disable back button".
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic