Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

servlet

srinivas cogni
Greenhorn

Joined: Sep 28, 2008
Posts: 3
in my application, i can move through pages from back and forward browser buttons, i.e. even if I click back button and come to login page and then click on forward button it again takes me to search page,
i have : login page, searchpage
1)in search page i have logout functionality, there i invalidate session that is working fine.
2)if your in search page ,then click on back button then you are coming to login page, now you clik on forward button it goes to search page , insted of authentications.
i have done cache clear in my doGet(), doPost()...
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

so you want to controll the back and forward functionality of the BROWSER right?
srinivas cogni
Greenhorn

Joined: Sep 28, 2008
Posts: 3
Originally posted by seetharaman venkatasamy:
so you want to controll the back and forward functionality of the BROWSER right?


yes
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

Please do not post same question multiple times .
It not only wastes time of others but also reduces the number of responses you get.


SCJP, SCWCD.
|Asking Good Questions|
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet
 
Similar Threads
upon click of back button, go to logout page
Send response to login page
Two Forms Mistakenly Shown
a very weird defect raised by our client
how to write the code for logout option