Re: [PHP] $_SESSION NOT WORKING

2008-05-13 Thread Jens Himmelrath
Balpo schrieb: >> 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. >> >> // 1.php > $_SESSION['tree'] = "This is tree number one"; header("Location: >>

Re: [PHP] $_SESSION NOT WORKING

2008-05-13 Thread Balpo
Yes, that way it works. Thanx. But the Windows version of the same code and the same php.ini ***does not *** need the session_start() because it has the session.auto_start = 1 inside php.ini. The thing is, I think session.auto_start = 1 does not work on Linux. Is this a bug? Daniel Brown wro

RES: [PHP] $_SESSION NOT WORKING

2008-05-13 Thread Thiago Pojda
original- De: Daniel Brown [mailto:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> wrote: > Hi everyone, > I'm having a problem mo

Re: [PHP] $_SESSION NOT WORKING

2008-05-13 Thread Daniel Brown
On Tue, May 13, 2008 at 2:38 PM, Balpo <[EMAIL PROTECTED]> 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: You only missed

Re: [PHP] $_SESSION NOT WORKING

2008-05-13 Thread Dmitri
Try adding session_start() at top of the script Balpo 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. // 1.php // 2.php

[PHP] $_SESSION NOT WORKING

2008-05-13 Thread Balpo
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. // 1.php // 2.php // php.ini (incomplete) session.save_