<?php

global $debug;

$debug = 999;

require_once('tilib.php');
require_once('lib/nusoap.php');

$pathback = getPathBack();

echo("<pre>\r\n");
$session = $_REQUEST['session'];
echo("Session = ".$session."\r\n");
echo("Path = ".$pathback."<br>");

if ( ! isset($session) ) {
  echo "No Session<br>";
  exit;
}

$sessionfile =  "session/session-".$session.".txt";

echo "<a href=$sessionfile target=_new>View Session Dump for Session $session</a><br>\r\n";

$outcomepath = str_replace("TestOutcome.php", $sessionfile, getPathBack());
echo("Outcome Path=".$outcomepath."<br>");

exit;

?>
