Delete scratch upon session end.
This commit is contained in:
parent
3fd2021b86
commit
273b0c06e6
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue