java - back button- Confirm form resubmission using jsp, servlet and filter -
this question has answer here:
i followed examples saw here write code confirm form resubmission when press browser button after logout. using 2 jsp pages, index page contains login form , welcome page displays after suuccessful login. login servlet processes login data , sets session atribute , logout servlet removes session atribute , invalidate session.
a filter checks session attribute , sets no-cache...on browser. other aspect works fine when press button after logout,it displays "confirm form resubmission". please think not getting right. need help. thank you.
are doing logout
post
method? if yes, logout
browser sending data server, when press button brower assumes trying reload, , ask confirm form submit. wont problem until unless, user logout
other wise have check filters.
Comments
Post a Comment