Welcome to Geeklog, Anonymous Monday, September 26 2022 @ 04:39 am EDT

Geeklog Forums

Random login problems


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
 Quote

Status: offline

vinny

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

-Vinny
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

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
 Quote

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
 Quote

All times are EDT. The time is now 04:39 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content