RES: [PHP] $_SESSION NOT WORKING

[email protected] ("Thiago Pojda")
Newsgroups php.general
Message-ID <00a501c8b538$a95b0610$0201a8c0@softpartech>
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
[email protected]
Excelência em Softwares Financeiros


-----Mensagem 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 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.