newbie needs help with session variables

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

 



Hi.  I'm still very new to php and still trying to learn the ropes.

I'm working on some code now trying to set up a session and use session variables in different scripts, but I'm getting this message:

*Warning*: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in *Unknown* on line *0

*2 questions:

1) I've turned on register_globals in all of my php.ini files and restarted the webserver, but I'm still getting this message. Can anyone help me with this?

2) I get the idea that one should NOT turn on register_globals, but, if I don't do this, how do I share session variables between scripts (and avoid this message)?

Thanks for any help that anyone can provide.

Rod Clay
clay.1@xxxxxxx*
*

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux