* Extract the PHPParameter object from the session. If this is not provided use the values for startPage and application from the INIT Parameters
*/
String reqQuery;
String phpScript;
PHPParameters phpParam = null;
try
{
phpParam = (PHPParameters)request.getPortletSession().getAttribute(PHPParameters.PHP_PARAMETER, PortletSession.APPLICATION_SCOPE);
}
catch (Exception e )
{
phpParam = null;
}
if (phpParam != null)
{
// We got real parameters
bUseCachedParameters = false;
reqQuery = phpParam.getQueryString();
phpScript = phpParam.getScriptName();
}
else
{
/*
* No parameters were send to this page. Either it is the initial invocation (use init param) or