I have some questions regarding php session timeout. I set the following values at runtime:
session.gc_maxlifetime = 3600 session.cookie_lifetime = 3600 session.save_path = myApplicationPath/tmp session.use_cookies = 1 session.use_only_cookies = 1
However, my session ends in about 30 minutes. In addition, my tmp directory remains empty, so it does not show that cookies are not actually set. echoing ini_get ("session.save_path") returns the correct path, though.
source share