4 of 5 added 28 characters in body

Controller class extend not working

i am working with the magento(, 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