This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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|
 
Consider Paul's rocket mass heater.
 
subject: servlet