Page 1 of 1

Session Error? Or something Else[solved]

Posted: Fri Mar 10, 2006 5:07 am
by ketema
Hello I have two serendipity installs on the same server, under different sites:

www.ketema.net/serendipity & www.inspirationcrib.com/blog

on the first everything works great, but on the second I noticed that after I login that when I try to use one of the control panel links i get returned to the login page. I read in the FAQ that this could be a session issue so I checked, but it seems to be working fine, i get the session cookie for both websites jsut fine, but inthe second I can't do anything. What can I do to resolve this?

Thank You.

ketema

Re: Session Error? Or something Else

Posted: Fri Mar 10, 2006 11:16 am
by garvinhicking
I have just checked the two sites.

Both hosts set their PHP Cookie with to the Domain "ketema.net", so even for inspirationb.com the domain is set to 'ketema.net', so it does not apply to that single host.

You should alter your PHP configuration to leave the Cookie Domain Name empty!

Regards,
Garvin

Posted: Fri Mar 10, 2006 3:10 pm
by ketema
ok i adjusted my php.ini file so that the line about session.cookie says:
session.cookie_domain = /

and I also tried session.cookie_domain =

when i goto each domain in firefox I get a cookie for each one, yet only the ketema.net domain works. the inspirationcrib.com domain still pushes me back to the login screen. I have included screen shots.

Image
and
Image

Posted: Fri Mar 10, 2006 3:13 pm
by ketema
ok now its working. This is wierd. I will monitor it and see it it happens again, but if it just took a minute for the old session to time out, then I will consider this issue solved. Thanks for the help.