Location: PHPKode > projects > eCanteen > ecanteen/global.php
<? 
$SetLocale["en-au"];
function Application_OnStart()
{
  extract($GLOBALS);

//'''some code
  return $function_ret;
} 

function Application_OnEnd()
{
  extract($GLOBALS);

//'''some code
  return $function_ret;
} 

function Session_OnStart()
{
  extract($GLOBALS);


  $_SESSION['TimeOut']=30;
// [unsupported] session.timeout=$_SESSION['TimeOut'];
  $_SESSION['customerid']=0;
  session_register("trolleyString");
$_SESSION["trolleyString"]=";";
  $_SESSION['userlevel']=0;
  $_SESSION['credit']=0;
  $_SESSION['SiteID$']=$_GET["Site"];


  return $function_ret;
} 

function Session_OnEnd()
{
  extract($GLOBALS);

  header("Location: "."closer.asp");
  return $function_ret;
} 

?>



Return current item: eCanteen