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
[EMAIL PROTECTED]
*

Reply via email to