--- index.php.orig 2013-05-14 13:37:25.000000000 +0100
+++ index.php 2013-05-20 18:05:21.803577184 +0100
@@ -62,7 +62,8 @@
$asMessage = array(
$clang->gT('Token mismatch'),
$clang->gT('The token you provided doesn\'t match the one in your session.'),
- $clang->gT('Please wait to begin with a new session.')
+ $clang->gT('Please press F5 to reload the page.'),
+ ''
);
$this->_createNewUserSessionAndRedirect($surveyid, $redata, __LINE__, $asMessage);
}
@@ -72,7 +73,8 @@
$asMessage = array(
$clang->gT('Previous session is set to be finished.'),
$clang->gT('Your browser reports that it was used previously to answer this survey. We are resetting the session so that you can start from the beginning.'),
- $clang->gT('Please wait to begin with a new session.')
+ $clang->gT('Please press F5 to reload the page.'),
+ ''
);
$this->_createNewUserSessionAndRedirect($surveyid, $redata, __LINE__, $asMessage);
}
@@ -806,6 +808,7 @@
$templatename=Yii::app()->getConfig('defaulttemplate');;
}
// Let's redirect the client to the same URL after having reset the session
+ session_unset();
$this->_niceExit($redata, $iDebugLine, $templatename, $asMessage);
}