thanks! it works perfectly!!!
just another question: in my index.php i'd like to get the session id or a timestamp (like currentdate()) in order to identify the current session with a unique value. so if index.php is running for the first time (for this session) it should retrieve the unique number and store in the session. otherwise it should view that that value is already set and do nothing
questions:
- how to retrieve timestamp/sessionid? - how to make index.php to know if the value of that variable is already set
thanks a lot mark! you are being helpfull to me!!!!!
mark
thank you for the advice... :) i'm not able to make it work, but i'll write you what i've done:
-index.php, after row 333 (eZSessionStart();)
added the following: $http =& eZHTTPTool::instance();
$http->setSessionVariable( "MyVar", "MyValue" ); [in this way i think i've set a session variable (MyVar) with value "MyValue"]
-eztemplatestringoperator.php, row 301
added the following: // return a session variable
case $this->SessionVariable:
{
include_once( "lib/ezutils/classes/ezhttptool.php" );
$http =& eZHTTPTool::instance();
$operatorValue = $http->sessionVariable("MyVar");
} break; i wrote sessionvariable("MyVar") because i want to retrieve only the myvar value
-pagelayout.tpl: added the following:
{"MyVar"|SessionVariable} i want to retrieve the session variable.
but in pagelayout i get "MyVar"... not myValue!!!!
i can give you my icq#: 326457502 help me please (then i'll take a very very long breath!!!)
cheers alessandro
You must be logged in to post messages in this topic!