Hi,
I have got the solution for the problem in the mappings.php file if you =
want to forward with out query string you need to put atleast '?' at the =
end of URL.
suppose in the below case if youwant to forward the URL u need to append =
'?' at the end. Other wise the 404 error will come. And if redirection =
happens the session_destroy is called. I don't know its purpose exactly.
Thanks
mala
$mappings =3D array(
_ACTION_FORMS =3D> array(
'form' =3D> array(
_TYPE =3D> 'oneviewloginform'
),
'userfirstform' =3D> array(
_TYPE =3D> 'oneviewuserform'
),
'logoutform' =3D> array(
_TYPE =3D> 'oneviewlogoutform'
)
),
_ACTION_MAPPINGS =3D> array(
'login' =3D> array(
_TYPE =3D> 'oneviewloginact',
_NAME =3D> 'form',
_INPUT =3D> 'login.php',
_VALIDATE =3D> 1,
_ACTION_FORWARDS =3D> array(
'first' =3D> array(
_PATH =3D> 'views/first.php?',
_REDIRECT =3D> 0
),
'index' =3D> array(
_PATH =3D> 'login.php?',
_REDIRECT =3D> 0
)
)
),
) |