Re: [phplib] Cookie_domain not working? Error in session.inc! From: M. Brian Akins (bakins <email protected>)
Date: 06/27/00

I found the problem:
on line 123 on session.inc there is a typo, $this->$cookie_domain should be
$this->cookie_domain
I checked CVS and this error is still in there, so I suggest you edit it
yourself if you use this feature.

On Tue, 27 Jun 2000, M. Brian Akins wrote:
> All the sites use the same database. Infact all the session and auth stuff is
> handled by the same phpcode. The multiple sites are actually pointed to the
> same directory in Apache, and different pages are included based on what site
> was reqested. If I look at my cookies file, the cookie domain is being set as
> "1.site.com" or "2.site.com", but if I call setcookie myself and set the domain
> to ".site.com" it works.
>
> On Tue, 27 Jun 2000, toby cabot wrote:
> > "M. Brian Akins" wrote:
> > >
> > > But if I authenticate on 1.site.com and then go to 2.site.com I must login. Any
> > > one got ideas?
> >
> > I've got lots! One that's relevant to this topic is that all of the
> > sites need to be using the same database for their session table. The
> > cookie is merely a key into the database; the database stores what login
> > state a session/user is in.
> >
> > Toby
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> > For additional commands, e-mail: phplib-help <email protected>
> --
> M. Brian Akins
> Senior Development Engineer
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>

-- 
M. Brian Akins
Senior Development Engineer

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>