Skip to content

Commit

Permalink
Added section to handle ($_GET['newtest'] == "Y"). When it receives t…
Browse files Browse the repository at this point in the history
…his it resets the session variables. This is passed through by the "Test Survey" button and is set in html.php.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@343 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Jun 6, 2003
1 parent eead05d commit 5825e31
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions index.php
Expand Up @@ -131,6 +131,16 @@
exit;
}

if ($_GET['newtest'] == "Y")
{
foreach ($_SESSION as $SES)
{
session_unset();
}
//session_unset();
//session_destroy();
}

//CALL APPROPRIATE SCRIPT
switch ($surveyformat)
{
Expand Down

0 comments on commit 5825e31

Please sign in to comment.