Logout Button:
Problem:
Currently, clicking the logout button sends the user to the login page. However, clicking the back button on the browser sends the user back to the page they came from. I suspect the session is not being destroyed upon logout.
Proposed Solution:
Upon clicking the logout button:
- Destroy the current session.
- Bring user back to login page.
Logout Button:
Problem:
Currently, clicking the logout button sends the user to the login page. However, clicking the back button on the browser sends the user back to the page they came from. I suspect the session is not being destroyed upon logout.
Proposed Solution:
Upon clicking the logout button: