Delete scratch upon session end.

This commit is contained in:
JT Smith 2002-11-10 03:23:32 +00:00
parent 3fd2021b86
commit 273b0c06e6

View file

@ -172,6 +172,7 @@ sub close {
#------------------------------------------------------------------- #-------------------------------------------------------------------
sub end { sub end {
WebGUI::SQL->write("delete from userSession where sessionId='$_[0]'",$session{dbh}); WebGUI::SQL->write("delete from userSession where sessionId='$_[0]'",$session{dbh});
WebGUI::SQL->write("delete from userSessionScratch where sessionId='$_[0]'",$session{dbh});
if ($_[0] eq $session{var}{sessionId}) { if ($_[0] eq $session{var}{sessionId}) {
refreshSessionVars(); refreshSessionVars();
} }