These two are good suggestions.
I will try them now.
If i remove session from autoload, and load it in post controller construction
session is successfully loaded in that controller. but not working in other controllers
Code:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: Home::$session
Filename: controllers/Home.php
Line Number: 16
Backtrace:
File: C:\codeigniter\application\controllers\Home.php