• 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
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

Send response to login page

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I'm using the following code to send the response to logout page once the user logged out and click 'back' button of the browser. The following code works fine with IE but in Firefox the response is going back to the main page of my application.
Can anyone help to send the response to the login page, after the user logs out of the application and when clicks on the 'back' button.

Thanks in Advance.

With Regards
Dev Anand. P



 
Dev Anand
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Anybody knows the solution for my query, which i have sent yesterday?
 
Ranch Hand
Posts: 493
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Dev Anand wrote:Hi,
Anybody knows the solution for my query, which i have sent yesterday?



So do you wanna disable the back button ?? because the question is not clear for me ..
 
Sheriff
Posts: 67525
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Attempting to disable the back button is never the correct solution to any problem,
 
Dev Anand
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your absolutely correct, Bear Bibeault.

I'll explain my requirement clearly. I developed a web application, in which, if I click 'Logout' button, the application will be redirected to 'Home' page. Then, if I click on back button of the 'Home' page, the application is getting redirected to Main page of my application. This is absolutely wrong. So, if I click on 'back' button, it should redirect to 'Login' page, not to the 'Main' page of my application.

I hope my requirement is clear now.

Thank you.

Regards
Dev Anand. P
 
Ranch Hand
Posts: 46
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is this what you are looking for?

Weee!!! Ranch Hand!! (Two years to become a ranch hand.. Not much to celebrate for.. Yet!!)
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic