How can I have an object class store into PHP session and then get it in my next page as variable. Could you help?
Here is my class.inc.php
class sho
used this code first page
$obj = new Object(); $_SESSION['obj'] = serialize($obj);
in second page
$obj = unserialize($_SESSION['obj']);