OSDN Git Service
(root)
/
fswiki
/
fswiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d92bb07
)
BugTrack-wiki/288 : Farmセッションタイムアウトに関する件。クッキー削除時の有効期限
author
kgsoft
<kgsoft@users.osdn.me>
Thu, 7 Dec 2017 09:21:44 +0000
(09:21 +0000)
committer
kgsoft
<kgsoft@users.osdn.me>
Thu, 7 Dec 2017 09:21:44 +0000
(09:21 +0000)
plugin/admin/Login.pm
patch
|
blob
|
history
diff --git
a/plugin/admin/Login.pm
b/plugin/admin/Login.pm
index
999ed2d
..
3755997
100644
(file)
--- a/
plugin/admin/Login.pm
+++ b/
plugin/admin/Login.pm
@@
-112,7
+112,7
@@
sub logout {
# Cookie¤ÎÇË´þ
my $path = &Util::cookie_path($wiki);
- my $cookie = CGI::Cookie->new(-name=>'CGISESSID',-value=>'',-expires=>
-
1,-path=>$path);
+ my $cookie = CGI::Cookie->new(-name=>'CGISESSID',-value=>'',-expires=>1,-path=>$path);
print "Set-Cookie: ".$cookie->as_string()."\n";
$wiki->redirectURL($wiki->create_url({action=>"LOGIN"}));