When I press the login button, it deletes the cookie redirects to the main page. It works perfectly.
But when I press the "back" button (or backspace key), the logged in page still shows up. I want to prevent this for users' privacy reasons.
How would you do it?