3 of 5 Rollback to Revision 1

Controller class extend not working

i am working with the magento(1.9.0.1), i like to extend the second controller from the first controller class.

first controller

class Federallawyer_Flphotos_SuggestController extends Mage_Core_Controller_Front_Action {

}

second controller

class Federallawyer_Flphotos_ConnectController extends Federallawyer_Flphotos_SuggestController { }

the second controller is extended from the first controller, but magento throw an error.

the error is Call to undefined method Federallawyer_Flphotos_ConnectController::getCustomerSession(),

but i define this method in firstcontroller file.

your idea and suggestion will help me more