Sidebar Links
Problem:
Upon clicking each link in the sidebar (or...any link at all?), should check if the user's current session has expired.
Do you guys agree? Should it just be sidebar links, or should it be all links? Or should the user just stay logged in indefinitely until they decide to click logout?
Proposed Solution:
- Check session upon each link click.
- If session is expired, destroy session and logout the user.
- Logging out the user should redirect them to the login page.
Sidebar Links
Problem:
Upon clicking each link in the sidebar (or...any link at all?), should check if the user's current session has expired.
Do you guys agree? Should it just be sidebar links, or should it be all links? Or should the user just stay logged in indefinitely until they decide to click logout?
Proposed Solution: