I'm having trouble passing a variable from one method to another, I'm trying as follows, but failed
ddsd
public function hacerloginAction(){
//Obtener parámetros
$v_c_request = $this->getRequest();
$a_params = $v_c_request->getParams();
$v_c_url = Zend_Registry::get('base_action')."login/hacerlogin";
$this->view->v_c_url = $v_c_url;
//Realizar autentificación OpenId - Parte 1: conectar_openid
//p_c_parametros
$_SERVER['PHP_SELF'] = str_replace("/p_c_parametros", "", dirname($_SERVER['PHP_SELF']));
//Si 'a_params["p_c_parametros"]' tiene valores se asignan a una variable de sesion
if( isset($a_params["p_c_parametros"]) && $a_params["p_c_parametros"] != null){
$_SESSION['p_c_parametros'] = $a_params["p_c_parametros"];
}
//Se obtienen el parametro de 'p_openid' hya.com.mx
$p_openid = str_replace("|","/",$a_params["p_openid"]);
$this->obj_openidlog->conectar_openid($p_openid);
//Render a la página de inicio.
$this->render("formalogin");
}
ds