session.save_path = c:\PHP\sessiondata
where c:\PHP\sessiondata is folder where you want PHP to save session information.
You must ensure that account you use has read/write permissions on this folder.
In php.ini file find session.gc_maxlifetime variable and set session expiration time in seconds (3600 means one hour).
session.gc_maxlifetime = 3600