Finally a fix for that crap ass internet exploder bug that haunts me as a sleep and is a thorn in my side while I'm awake!!!!
This commit is contained in:
parent
cc70ba7acd
commit
19a66a2864
1 changed files with 6 additions and 1 deletions
|
|
@ -411,7 +411,12 @@ sub setScratch {
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
sub start {
|
sub start {
|
||||||
my ($sessionId);
|
my ($sessionId);
|
||||||
$sessionId = _generateSessionId();
|
if ($session{cookie}{wgSession} ne "") { #fix for internet exploder cookie bug
|
||||||
|
$sessionId = $session{cookie}{wgSession};
|
||||||
|
end($sessionId);
|
||||||
|
} else {
|
||||||
|
$sessionId = _generateSessionId();
|
||||||
|
}
|
||||||
WebGUI::SQL->write("insert into userSession values ('$sessionId', ".
|
WebGUI::SQL->write("insert into userSession values ('$sessionId', ".
|
||||||
(time()+$session{setting}{sessionTimeout}).", ".time().", 0, '$ENV{REMOTE_ADDR}', $_[0])");
|
(time()+$session{setting}{sessionTimeout}).", ".time().", 0, '$ENV{REMOTE_ADDR}', $_[0])");
|
||||||
setCookie("wgSession",$sessionId);
|
setCookie("wgSession",$sessionId);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue