Open config.php and go to:
Code: Select all
/* initilize php session */
session_start();
Code: Select all
/* cookie workaround. these lines maybe optional. */
if (isset($_COOKIE['PHPSESSID'])) session_id($_COOKIE['PHPSESSID']);
Code: Select all
/* cookie workaround */
header("Set-Cookie: PHPSESSID=".session_id()."; path=/; domain=".$_SERVER["HTTP_HOST"]."; expires=".gmstrftime("%A, %d-%b-%Y %H:%M:%S GMT", time() + 9600));
Maybe you have to look at your php.ini if PHPSESSID is your session.name.
A few words to the cacti team:
IT'S NOT THE RIGHT WAY TO TRUST ON COOKIES!
Bad boys bad boys