0
How to create a timer session in php
hii i want to create a php session timer for banking application which expires after few seconds
1 Answer
0
PHP sessions are really only good if you are trying to keep track of information for multiple HTTP sessions. I am assuming you don't want to server to keep track of the php session after the transaction is done so you want it to expire. My recommendation would be to not use the PHP sessions at all. Though if you must use sessions, check the session.gc_maxlifetime variable.