Array
(
[page_name] => askimk.php
[user] => O:4:"User":19:{s:9:"visitorid";s:1:"1";s:9:"firstname";s:0:"";s:8:"lastname";s:0:"";s:8:"address1";s:0:"";s:8:"address2";s:0:"";s:4:"city";s:0:"";s:7:"country";s:0:"";s:5:"phone";s:0:"";s:6:"mobile";s:0:"";s:5:"email";s:23:"zubair@itmentors.com.pk";s:3:"pwd";s:32:"e10adc3949ba59abbe56e057f20f883e";s:7:"created";s:19:"2009-12-30 12:25:47";s:9:"lastlogin";s:0:"";s:10:"isdisabled";s:1:"0";s:8:"sendnews";s:1:"1";s:8:"username";s:6:"zubair";s:10:"signupstep";s:1:"2";s:10:"occupation";s:0:"";s:8:"interest";s:0:"";}
[login_time] => 2009-12-31 11:38:47
[logged_in] => 1
)
this what I am getting on the first run about the session if you notice is started in global.inc.php
and as I am including this in the other file askimk.php so the session is automatically started i persume. on the other hand it works fine when I access it first time after I login and then referesh this page then it produces this error and also now the array data is this
Array
(
[page_name] => askimk.php
[user] => O:4:"User":19:{s:9:"visitorid";s:0:"";s:9:"firstname";s:0:"";s:8:"lastname";s:0:"";s:8:"address1";s:0:"";s:8:"address2";s:0:"";s:4:"city";s:0:"";s:7:"country";s:0:"";s:5:"phone";s:0:"";s:6:"mobile";s:0:"";s:5:"email";s:0:"";s:3:"pwd";s:0:"";s:7:"created";s:0:"";s:9:"lastlogin";s:0:"";s:10:"isdisabled";s:0:"";s:8:"sendnews";s:0:"";s:8:"username";s:0:"";s:10:"signupstep";s:0:"";s:10:"occupation";s:0:"";s:8:"interest";s:0:"";}
[login_time] => 2009-12-31 11:38:47
[logged_in] => 1
)
and above this error is produced when executing 2nd time this
require_once 'includes/global.inc.php';
now if you notice the object exist but array lost the values of user object
Any idea what to do?