I have to two folders in my localhost.
domain1 and domain2 - each one with is own .htaccess
Both .htaccess are only used to set the following:
php_value session.gc_maxlifetime 172800
php_value session.cookie_lifetime 0
php_value session.save_path './temp/'
I have two problems: 1 - When I login in one site the session on the other is destroyed(it redirects me to the login page when I try to load any page) and vice-versa
2 - The session.save_path only works with absolute path. If I use './temp/' it shows an error:
Warning: session_start() [function.session-start]: open(....., O_RDWR) failed: No such file or directory (2) in...
If I use an absolute path '/var/www/domain1/temp/' or '/var/www/domain2/temp/' it works but I still have the first problem.
Thank you in advance for any help.
P.S. without the .htaccess files the login works without problems