[eluser]Unknown[/eluser]
Hi,
I am new to PHP and came from Java Web Application development background. I started to build a Web Application for a Charity, and wanted to implement it in PHP. I m using PHP 5 with Jboss server. I am very impressed with this framework and it has almost all the design patterns of a Java. I have been struggling with an issue for the last 2 days, here is my code.
Code:
class Login extends Controller {
function Login() {
parent::Controller();
}
function index()
{
$session_id = $this->session->userdata('session_id');
log_message('debug', "_processLogin Session Created =".$session_id);
}
}
I keep getting the error
Quote:Undefined property: Login::$session
Can someone please help me on this please….please…
Thanks
S.Shangar