I just want to inquire about how to make sessions in cakephp to last and be destroyed only when I click logout.
Currently, when I close the browser or just leave the computer, when I get back for like 1 hour, it prompts me to the login page, meaning the Session was deleted.
Facebook in a way does this - unless you logout, your session is stored, so even when you close your browser or leave your computer, you will always be logged in.