• 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

Browsers and Their Back Buttons.

 
Ranch Hand
Posts: 483
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Everyone,

This is a general question about how Browsers handle their back button. Don't know where to post this. Please feel free to move it to an appropriate section, if necessary. This is a general question mostly and something which is causing an issue on the application which I am working on. I am working on an application which is based on Struts. The authentication for the users is done by another application. We just post the used id and password along with some other parameters to that application, it authenticates the user and sends the information saying if the user is authenticated or not. Any incorrect username/password errors are shown to the users on the login page.

Now the issue is... After a user logs in and then after doing whatever he came in to, when he clicks logout his session is logged out. But when the user clicks on the browser's back button the user is redirected to the login page (the login page and the logout page is the same JSP). This is the normal case, this happens for all browsers, except Chrome. In case of Chrome, after clicking the back button i see that the login page is showing an error as if the user entered an incorrect username password combination. So i am guessing that Chrome somehow saves the forms or something and posts it back to the third party application. I am clueless about this one! Because it is so browser specific.

Any tips and advice would be welcomed.
 
when your children are suffering from your punishment, tell your them it will help them write good poetry when they are older. Like this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic