I've been noticing that my PHP sessions are expiring after rather a short time. I tried to see what the default timeout settings was but access to php_info() wasn't allowed so I'm wondering how I can extend the session life (say to 24hours?). Can I have a local php.ini file? If so, how would I change the default settings?
Another option would be to use the ini_set() function I suppose? I know how to change the default this way, but I'd also need to define a custom path for session.save_path wouldn't I?
Thanks in advance!


LinkBack URL
About LinkBacks

