I have a few a few question about php sessions:
-
Since the default value forsession.gc_maxlifetimeis 24 mins then that means any session file that isn't modified for 24 mins will be deleted and the session will expire automatically.
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
I have a few a few question about php sessions:
Since the default value for session.gc_maxlifetime is 24 mins then that means any session file that isn't modified for 24 mins will be deleted and the session will expire automatically.
Is there any option to destroy a session if user does not perform any action in 10 minutes?