Re: [PHP] Unset and __destruct

2012-12-07 Thread Sebastian Krebs
2012/12/6 Pierre du Plessis > Hi all > > I searched the internet (probably not hard enough), and couldn't find a > decent answer. > > I was wondering why, when calling unset on an object, it doesn't > automatically call the __destruct method (if it exists) on the object. > Thats because it was n

[PHP] Session ?

2012-12-07 Thread Jim Giner
Something new for me - working with scripts on two of my sub-domains. I want to call script 2 in my B domain from script 1 in my A domain. It appears that the session vars established in script 1 do not show up in script 2. Is that because the domain name is different? Is this where one must

Re: [PHP] Session ?

2012-12-07 Thread Daniel Brown
On Fri, Dec 7, 2012 at 2:33 PM, Jim Giner wrote: > Something new for me - working with scripts on two of my sub-domains. > > I want to call script 2 in my B domain from script 1 in my A domain. > > It appears that the session vars established in script 1 do not show up in > script 2. Is that beca

Re: [PHP] Session ?

2012-12-07 Thread Jim Giner
On 12/7/2012 2:36 PM, Daniel Brown wrote: On Fri, Dec 7, 2012 at 2:33 PM, Jim Giner wrote: Something new for me - working with scripts on two of my sub-domains. I want to call script 2 in my B domain from script 1 in my A domain. It appears that the session vars established in script 1 do not

Re: [PHP] Session ?

2012-12-07 Thread Daniel Brown
On Fri, Dec 7, 2012 at 2:38 PM, Jim Giner wrote: > On 12/7/2012 2:36 PM, Daniel Brown wrote: >> >> On Fri, Dec 7, 2012 at 2:33 PM, Jim Giner >> wrote: >>> >>> Something new for me - working with scripts on two of my sub-domains. >>> >>> I want to call script 2 in my B domain from script 1 in my A

Re: [PHP] Session ?

2012-12-07 Thread Jim Giner
On 12/7/2012 2:41 PM, Daniel Brown wrote: On Fri, Dec 7, 2012 at 2:38 PM, Jim Giner wrote: On 12/7/2012 2:36 PM, Daniel Brown wrote: On Fri, Dec 7, 2012 at 2:33 PM, Jim Giner wrote: Something new for me - working with scripts on two of my sub-domains. I want to call script 2 in my B domai

Re: [PHP] Session ?

2012-12-07 Thread Sebastian Krebs
2012/12/7 Jim Giner > On 12/7/2012 2:41 PM, Daniel Brown wrote: > >> On Fri, Dec 7, 2012 at 2:38 PM, Jim Giner >> wrote: >> >>> On 12/7/2012 2:36 PM, Daniel Brown wrote: >>> On Fri, Dec 7, 2012 at 2:33 PM, Jim Giner >>> > wrote: > > Something new for me - working with

Re: [PHP] Session ?

2012-12-07 Thread Daniel Brown
On Fri, Dec 7, 2012 at 2:54 PM, Jim Giner wrote: > > What if my sub-domain names are not in the form of 'a.domain.com' and > 'b.domain.com'. A subdomain is a subdomain. Unless you've discovered a new magical form of subdomain that is not, you should be fine. And if you have, in fact, made t

Re: [PHP] Session ?

2012-12-07 Thread Jim Giner
On 12/7/2012 2:58 PM, Sebastian Krebs wrote: 2012/12/7 Jim Giner On 12/7/2012 2:41 PM, Daniel Brown wrote: On Fri, Dec 7, 2012 at 2:38 PM, Jim Giner wrote: On 12/7/2012 2:36 PM, Daniel Brown wrote: On Fri, Dec 7, 2012 at 2:33 PM, Jim Giner wrote: Something new for me - working wi

Re: [PHP] Session ?

2012-12-07 Thread Jim Giner
On 12/7/2012 2:59 PM, Daniel Brown wrote: On Fri, Dec 7, 2012 at 2:54 PM, Jim Giner wrote: What if my sub-domain names are not in the form of 'a.domain.com' and 'b.domain.com'. A subdomain is a subdomain. Unless you've discovered a new magical form of subdomain that is not, you should

Re: [PHP] Session ?

2012-12-07 Thread Daniel Brown
On Fri, Dec 7, 2012 at 3:04 PM, Jim Giner wrote: > > OK - now that I've messed us all up, help me to understand your proposed > solution. I added the ini-set line to my first script. Then I called my > second one and still had the same problem with a missing session var. Is > there a correspond

Re: [PHP] Session ?

2012-12-07 Thread Sebastian Krebs
2012/12/7 Daniel Brown > On Fri, Dec 7, 2012 at 3:04 PM, Jim Giner > wrote: > > > > OK - now that I've messed us all up, help me to understand your proposed > > solution. I added the ini-set line to my first script. Then I called my > > second one and still had the same problem with a missing

Re: [PHP] Session ?

2012-12-07 Thread Daniel Brown
On Fri, Dec 7, 2012 at 3:20 PM, Sebastian Krebs wrote: > > Would be better to put 'session.cookie_domain' into the php.ini. In both > cases: Clear cookies (at least for your site) completely and set > session.auto_start to 0. If it's configured on the server for overrides, sure, a local one.

Re: [PHP] Session ?

2012-12-07 Thread Jim Giner
So i need the ini set in both scripts. Thx. Ill try that later jg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Session ?

2012-12-07 Thread tamouse mailing lists
On Fri, Dec 7, 2012 at 2:04 PM, Jim Giner wrote: > On 12/7/2012 2:59 PM, Daniel Brown wrote: >> >> On Fri, Dec 7, 2012 at 2:54 PM, Jim Giner >> wrote: >>> >>> >>> What if my sub-domain names are not in the form of 'a.domain.com' and >>> 'b.domain.com'. >> >> >> A subdomain is a subdomain. U