Status: offline

bdub

Forum User
Newbie
Registered: 03/23/04
Posts: 4
I host two geeklog sites. I have random problems with both loggin in. When the problem exists I try to login, and instead of getting logged in, I get my login name added to the "who's online" list, and I am not allowed access. It is very strange. Both geeklog sites have the same problem which leads me to believe maybe there is a problem from having two geeklog sites on the same domain. (one site has its own domain, the other one is a subdomain of the main site)

Hopefully this makes sense,

thanks in advance

Status: offline

vinny

Site Admin
Admin
Registered: 06/24/02
Posts: 352
In the config.php for one of the sites (that are under the same domain) you should chage the names of the cookies.

-Vinny

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Either rename the cookies, as Vinny suggested, or set the $_CONF['cookiedomain'] accordingly, e.g.

$_CONF['cookiedomain'] = 'www.example.com';

for the main site and

$_CONF['cookiedomain'] = '.subdomain.example.com';

for the site on the subdomain (subdomain.example.com).

bye, Dirk

Chris

Anonymous
I'm also having cookie problems but am not runnning PHP5.0


According to PHP.net, this directvie became available in 5.0. What would one do if not running 5.0+?

Bye, Chris

Ana

Anonymous
Quote by: Dirk

Either rename the cookies, as Vinny suggested, or set the &#36;_CONF['cookiedomain'] accordingly, e.g.<br /><br />&#36;_CONF['cookiedomain'] = 'www.example.com';<br /><br />for the main site and<br /><br />&#36;_CONF['cookiedomain'] = '.subdomain.example.com';<br /><br />for the site on the subdomain (subdomain.example.com).<br /><br />bye, Dirk



It didn't help Cry