Re: Problem with session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As of version 4, GLOBALS are explicitly turned off... for security reasons.

You really shouldn't turn then on, either, via php.ini.

Instead... you should reference them directly e.g. $_SESSION['variable_name']
Or if you really want to short hand them... $variable_name = $_SESSION['variable_name']

This might introduce more coding, but in the long run, it's much safer.

Larr.


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux