RE: $_SESSION saves all values but Class -- works on one server but not another?!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You are correct, however that also seems to have to do with the actual class
or php code and not a server configuration. If I copy my PHP files to the
'other' server, everything works as expected -- no change in code required.
This is why I suspect it is a PHP/Apache/php.ini type of problem. But as I
tried to illustrate, the php.ini seems to be nearly the same on both
servers. 

> -----Original Message-----
> From: Richard Lynch [mailto:ceo@xxxxxxxxx] 
> Sent: Thursday, January 19, 2006 2:46 PM
> To: Daevid Vincent
> Cc: php-general@xxxxxxxxxxxxx; ceo@xxxxxxxxx
> Subject: RE:  $_SESSION saves all values but Class -- 
> works on one server but not another?!
> 
> 
> 
> Object 'autoload' has absolutely NOTHING to do with 
> session.auto_start.
> 
> http://www.php.net/autoload
> 
> On Thu, January 19, 2006 4:10 pm, Daevid Vincent wrote:
> > Thank you for the reply. I don't think that's the issue.
> >
> > I have:
> >
> > ; Initialize session on request startup.
> > session.auto_start = 0
> >
> > But this is the same setting as the box that DOES work.
> >
> > What's really confusing me is that part of the SESSION does work. I
> > would
> > expect an all or nothing case. Everything but the class is restored.
> >
> > "You had me at EHLO" --E.Webb (10.04.05)
> >
> >> -----Original Message-----
> >> From: Richard Lynch [mailto:ceo@xxxxxxxxx]
> >> Sent: Thursday, January 19, 2006 1:54 PM
> >> To: Daevid Vincent
> >> Subject: Re:  $_SESSION saves all values but Class --
> >> works on one server but not another?!
> >>
> >> On Wed, January 18, 2006 11:27 pm, Daevid Vincent wrote:
> >> > I have a gentoo server that doesn't save/restore the CLASS
> >> portion of
> >> > a
> >> > session, but it does retain other $_SESSION values. This code
> >> works
> >>
> >> Sounds to me like the Gentoo box does not have 'autoload' so the
> >> objects coming back out of the session have no 'class' to build
> >> themselves from...
> >>
> >> I confess to not reading all the details you posted to see if
> >> autoload
> >> was on/off differently in the two...
> >>
> >> Especially since I have no idea how to turn it on/off as I
> >> never used it.
> >>
> >> --
> >> Like Music?
> >> http://l-i-e.com/artists.htm
> >>
> >>
> >>
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> 
> 
> -- 
> Like Music?
> http://l-i-e.com/artists.htm
> 
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux