When accidently assigning a unset variable to $_SESSION, like
$_SESSION['foo'] = $bar
while $bar was not defined, I got the following error 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. "
The errormessage was quite unrelated and got me off-track. The real error was, $bar was not defined.
----
Server IP: 69.147.83.197
Probable Submitter: 92.254.50.195
----
Manual Page -- http://www.php.net/manual/en/reserved.variables.session.php
Edit -- https://master.php.net/note/edit/102295
Del: integrated -- https://master.php.net/note/delete/102295/integrated
Del: useless -- https://master.php.net/note/delete/102295/useless
Del: bad code -- https://master.php.net/note/delete/102295/bad+code
Del: spam -- https://master.php.net/note/delete/102295/spam
Del: non-english -- https://master.php.net/note/delete/102295/non-english
Del: in docs -- https://master.php.net/note/delete/102295/in+docs
Del: other reasons-- https://master.php.net/note/delete/102295
Reject -- https://master.php.net/note/reject/102295
Search -- https://master.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.