destroy.php
Go to the documentation of this file.
00001 <?php 00002 00003 /* 00004 This script destroy the Scones session. 00005 00006 Once destroyed, the session as to be re-initialized by running the init.php script. 00007 */ 00008 00009 /* 00010 Get the pool of stories to process 00011 Can be a URL or a file reference. 00012 */ 00013 $config_ini = parse_ini_file("../config.ini", TRUE); 00014 00015 // Starts the GATE process/bridge 00016 require_once($config_ini["gate"]["gateBridgeURI"]); 00017 00018 // Destroy the scones session 00019 // Second param "false" => we re-use the pre-created session without destroying the previous one 00020 // third param "0" => it nevers timeout. 00021 $SconesSession = java_session($config_ini["gate"]["sessionName"], false, 0); 00022 00023 $SconesSession->destroy(); 00024 00025 echo "Destroyed..." ; 00026 ?>
