session variable

From: Date: Tue, 12 Sep 2000 01:13:09 +0000
Subject: session variable
Groups: php.general 
Request: Send a blank email to php-general+get-16141@lists.php.net to get a copy of this message
i have a problem with session variables... i'd like to register a new session variable inside a class function... when i leave the function i loose the session variable... how to solve this problem... code: class xyz { function test () { $content = "here i am"; session_register("content"); } } after executing the function i can not access the session variable $content; florian

« previous php.general (#16141) next »