もしかして、setcookieで

setcookie('PHPSESSID',$_SESSION['PHPSESSID'],time() * 7 * 24 * 3600);

とかですか?