Hi All,

I am in trouble with the session handling of PHP. It works fine as long
as the session_start is not inside a function or a class. My idea was to
create a session class with a constructor calling session_start(). The
variables inside the session class would hide the session vars. Proper
methods for accessing and updating them were available. At the end I
will call my class session update method just before the script ended to
sync them with the PHP sessions.

I have tried changing track_vars and globals, but problem seems to not
be there, since calling session_start() from outside the class works. 

Is it a scope problem? Any help will be appreciated. Thanx.

        Sean C. McCarthy

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to