I need to change session timeouts in PHP. A bit of Googling has suggested this method:
Code:
ini_set("session.gc_maxlifetime", TIME_IN_SECONDS_HERE);
Is this my best bet? Where should I put this line - I have a config file or maybe in my login script? You tell me!
Note: site is running on IIS, not Apache.