I solved the problem by modifying the setMyCookie() method in the bb_cookie.php file, I added the following code while stil retaining the existing code:
setcookie($GLOBALS['cookiename'], $userName.'|'.$userPass.'|'.$userExpTime, $GLOBALS['cookieexptime'], '/', $GLOBALS['cookiedomain'], $GLOBALS['cookiesecure']);
This sets a cookie that is accessible from the "/" path, I can now access the cookie from whichever directory I chose.
I also had to modify the deleteMyCookie() method to destroy the cookie:
setcookie($GLOBALS['cookiename'], '', (time()-2592000), '/', $GLOBALS['cookiedomain'], $GLOBALS['cookiesecure']); |