The default time for a php session is 1440 seconds.

You can change it by doing the following:

[code lang=”php”]ini_set(“session.gc_maxlifetime”,1440);[/code]

You can obviously adjust the second parameter (1440) to anything you like to change the timeout limit.

Categories: ContentGeneral

Leave a Reply

Your email address will not be published. Required fields are marked *