Does the html header Set-Cookie function accept expiration in seconds?
header( "Set-Cookie:". $cookieName."=".$sessId."; expires=".$expireSeconds."; sessionID=".$sessId.";path=".$path."; domain=".$domain."; httponly; secure);
$expireSeconds = time()+$expireSeconds;
NOTE: I dont want to use set cookie because i am running php4 version. Also php4 does not support httponly in the setcookie() function