i have written code to logout the user session in my project.
but its not if i click back option, the session is still alive. please suggest me.
my code is Java code:
public void logout()
session = request.getSession();
RequestDispatcher rd = new RequestDispatcher("Homepage");
After logout, if I click back , the session is still alive.