This is a discussion on Re: [PHP] $_SESSION NOT WORKING within the PHP General forums, part of the PHP Programming Forums category; On Tue, May 13, 2008 at 2:38 PM, Balpo <balpo@gmx.net> wrote: > Hi everyone, > ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Tue, May 13, 2008 at 2:38 PM, Balpo <balpo@gmx.net> wrote:
> Hi everyone, > I'm having a problem moving my code to a linux computer. > I won't post the whole code here, but an accurate example that reproduces > exactly the error. [snip!] Modify 2.php as follows: <?php session_start(); print_r($_SESSION); ?> You only missed instantiating the session. The rest looks good. -- </Daniel P. Brown> Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just $59.99/mo. with no contract! Dedicated servers, VPS, and hosting from $2.50/mo. |
|
|||
|
Actually his question was about why session.auto_start is not working on Linux, I almost answered what you both did :) Atenciosamente, www.softpartech.com.br Thiago Henrique Pojda Desenvolvimento Web +55 41 3033-7676 thiago.pojda@softpartech.com.br Excelência em Softwares Financeiros -----Mensagem original----- De: Daniel Brown [mailto:parasane@gmail.com] Enviada em: terça-feira, 13 de maio de 2008 16:43 Para: Balpo Cc: PHP General Assunto: Re: [php] $_SESSION NOT WORKING On Tue, May 13, 2008 at 2:38 PM, Balpo <balpo@gmx.net> wrote: > Hi everyone, > I'm having a problem moving my code to a linux computer. > I won't post the whole code here, but an accurate example that reproduces > exactly the error. [snip!] Modify 2.php as follows: <?php session_start(); print_r($_SESSION); ?> You only missed instantiating the session. The rest looks good. -- </Daniel P. Brown> Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just $59.99/mo. with no contract! Dedicated servers, VPS, and hosting from $2.50/mo. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|||
|
I never heard of such extension. You should report this bug :) And you're welcome ;) Atenciosamente, www.softpartech.com.br Thiago Henrique Pojda Desenvolvimento Web +55 41 3033-7676 thiago.pojda@softpartech.com.br Excelência em Softwares Financeiros -----Mensagem original----- De: Balpo [mailto:balpo@gmx.net] Enviada em: terça-feira, 13 de maio de 2008 23:09 Para: Thiago Pojda Cc: 'Daniel Brown'; 'PHP General' Assunto: Re: $_SESSION NOT WORKING --SOLVED Prioridade: Alta After an all-evening debugging I found out what the problem is. Why? Please don't ask. I have no idea. The problem was php's extension php-colorer How I got to the problem. Eliminating every extension until I got the *bad* one. Thank you: Daniel, Thiago, Jens, Verny & Dmitri for your concern. Balpo Thiago Pojda wrote: > Actually his question was about why session.auto_start is not working on > Linux, I almost answered what you both did :) > > > Atenciosamente, > > www.softpartech.com.br > > > Thiago Henrique Pojda > Desenvolvimento Web > +55 41 3033-7676 > thiago.pojda@softpartech.com.br > Excelência em Softwares Financeiros > > > -----Mensagem original----- > De: Daniel Brown [mailto:parasane@gmail.com] > Enviada em: terça-feira, 13 de maio de 2008 16:43 > Para: Balpo > Cc: PHP General > Assunto: Re: [php] $_SESSION NOT WORKING > > On Tue, May 13, 2008 at 2:38 PM, Balpo <balpo@gmx.net> wrote: > >> Hi everyone, >> I'm having a problem moving my code to a linux computer. >> I won't post the whole code here, but an accurate example that reproduces >> exactly the error. >> > [snip!] > > Modify 2.php as follows: > > <?php > session_start(); > print_r($_SESSION); > ?> > > You only missed instantiating the session. The rest looks good. > > |
|
|||
|
On Wed, May 14, 2008 at 9:47 AM, Thiago Pojda
<thiago.pojda@softpartech.com.br> wrote: > > I never heard of such extension. You should report this bug :) > > And you're welcome ;) I agree, Balpo. You should submit the details of your findings at http://bugs.php.net/ and let us check it out. -- </Daniel P. Brown> Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just $59.99/mo. with no contract! Dedicated servers, VPS, and hosting from $2.50/mo. |