File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Send response to login page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Send response to login page" Watch "Send response to login page" New topic
Author

Send response to login page

Dev Anand
Ranch Hand

Joined: Aug 30, 2009
Posts: 41
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

Joined: Aug 30, 2009
Posts: 41
Hi,
Anybody knows the solution for my query, which i have sent yesterday?
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

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 ..


Thanks,
Sherif
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61206
    
  66

Attempting to disable the back button is never the correct solution to any problem,


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Dev Anand
Ranch Hand

Joined: Aug 30, 2009
Posts: 41
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

Joined: Jun 07, 2008
Posts: 46

Is this what you are looking for?

Weee!!! Ranch Hand!! (Two years to become a ranch hand.. Not much to celebrate for.. Yet!!)


-- Maximus Moothiringus
Preparing for SCJA!!
Finally figured out that giving <br/> splits the profile biography but not the signature
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Send response to login page