note 84229 added to function.main

From: Date: Fri, 04 Jul 2008 11:29:03 +0000
Subject: note 84229 added to function.main
Groups: php.notes 
Request: Send a blank email to php-notes+get-141160@lists.php.net to get a copy of this message
if like me, you're working inside a framework where you can't require the file with the class definition before session_start is called, I found the following workaround: $whatever = unserialize(serialize($_SESSION['whatevever'])); dirty hackish, but works. ---- Server IP: 92.48.100.16 Probable Submitter: 128.86.247.123 ---- Manual Page -- http://www.php.net/manual/en/function.main.php Edit -- https://master.php.net/note/edit/84229 Del: integrated -- https://master.php.net/note/delete/84229/integrated Del: useless -- https://master.php.net/note/delete/84229/useless Del: bad code -- https://master.php.net/note/delete/84229/bad+code Del: spam -- https://master.php.net/note/delete/84229/spam Del: non-english -- https://master.php.net/note/delete/84229/non-english Del: in docs -- https://master.php.net/note/delete/84229/in+docs Del: other reasons-- https://master.php.net/note/delete/84229 Reject -- https://master.php.net/note/reject/84229 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#141160) next »