Session Error? Or something Else[solved]

Found a bug? Tell us!!
Post Reply
ketema
Posts: 3
Joined: Sun Apr 03, 2005 8:18 am
Contact:

Session Error? Or something Else[solved]

Post 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
Last edited by ketema on Fri Mar 10, 2006 3:18 pm, edited 1 time in total.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Session Error? Or something Else

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ketema
Posts: 3
Joined: Sun Apr 03, 2005 8:18 am
Contact:

Post 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
ketema
Posts: 3
Joined: Sun Apr 03, 2005 8:18 am
Contact:

Post 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.
Post Reply