I'd alter your php.ini file to change that. but if you can't thats likely your best be just place it as early in your script as possible.
Quote:
Note: If different scripts have different values of session.gc_maxlifetime but share the same place for storing the session data then the script with the minimum value will be cleaning the data. In this case, use this directive together with session.save_path.
|