Change PHP Session Time

The default time for a php session is 1440 seconds.

You can change it by doing the following:

ini_set("session.gc_maxlifetime",1440);

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

Tags:
0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments