It depends on the server configuration or the relevant directives session.gc_maxlifetime in php.ini
.
Typically the default is 24 minutes (1440 seconds), but your webhost may have altered the default to something else.
More Related Contents:
- PHP Session timeout
- How long will my session last?
- Extending session timeout in PHP via the .htaccess
- how can I print multiple services in this way
- Undefined index $_POST
- PHP Pass variable to next page
- How to change the session timeout in PHP?
- Where to put password_verify in login script?
- PHP session without cookies
- Why is PHP session_destroy() not working?
- PHP Session Hijacking
- How to prevent PHP sessions being shared between different apache vhosts?
- How to set lifetime of session
- What is the difference between Sessions and Cookies in PHP?
- Troubleshooting “Warning: session_start(): Cannot send session cache limiter – headers already sent”
- Storing objects in PHP session
- When do I have to declare session_start();?
- Codeigniter Sessions not working after migration
- PHP sessions in a load balancing cluster – how?
- How to access Magento user’s session from outside Magento?
- Destroy or unset session when user close the browser without clicking on logout [duplicate]
- Undefined variable: $_SESSION
- Undefined index with PHP sessions
- Submit Multiple Forms With One Button
- Secure and Flexible Cross-Domain Sessions
- PHP How can I create multiple sessions?
- What does header(‘P3P: CP=”CAO PSA OUR”‘); do?
- Process very big csv file without timeout and memory error
- PHP Session Id changes between pages
- How to send cookies with file_get_contents