Re: [PHP] $_SESSION NOT WORKING
- Date: Tue, 13 May 2008 15:31:12 -0500
- From: Balpo <balpo@xxxxxxx>
- Subject: Re: [PHP] $_SESSION NOT WORKING
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 wrote:
On Tue, May 13, 2008 at 2:38 PM, Balpo <balpo@xxxxxxx> 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.
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
- References:
- [PHP] $_SESSION NOT WORKING
- From: Balpo
- Re: [PHP] $_SESSION NOT WORKING
- From: Daniel Brown
- [PHP] $_SESSION NOT WORKING
- Prev by Date: RES: [PHP] $_SESSION NOT WORKING
- Next by Date: RES: RES: [PHP] Re: A Little Something.
- Previous by thread: [PHP] Re: $_SESSION NOT WORKING --SOLVED
- Next by thread: Re: [PHP] $_SESSION NOT WORKING
- Index(es):