• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Send response to login page

 
Dev Anand
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Hi,
Anybody knows the solution for my query, which i have sent yesterday?
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • 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 ..
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64716
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
Maximus Moothiringus
Ranch Hand
Posts: 46
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • 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!!)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic