I'm wondering if this is possible. I was suggested to do the following to expire a session:
session_cache_expire(5); // expires in 5 minutes
session_start();
The problem is that the session does not expire. I use that for a login script and I'm still able to browse after more than a day goes by and even if the browser is closed. Is there a way to do this without changing a configuration file? I've searched other posts and the manual without luck.
Do other web apps that use login scripts rely on setcookie or sessions? Any help is appreciated. Thanks!