the default setcookie function is:
setcookie($CONFIG['cookie_name'].'_data', $data, time()+86400*30, $CONFIG['cookie_path']);
It does not set the domain name.
The problem here is that, the cookie only works for http://www.domain.net, and NOT http://domain.net. So i edited it to include a domain name ".domain.net" so that any subdomain will still use that cookie as well as http://domain.net. It already works for IE, but for some odd reason it doesn't work for Firefox. I've tried removing all the cookies and then logging in again with the "Remember this" but it still doesn't work. I am recognized as a logged in user in http://www.domain.net but http://domain.net does not recognize me.
Kindly advise what I am missing. Is there any other function I need to edit?
Thanks!
That's not the auth cookie. Assuming you are running unbridged, you need to edit bridge/coppermine.inc.php coppermine_udb::create_session();