FreeStyleWiki
Revision | 1a48f1b6951a9cc02b91229568e9f6f69ed6fca1 (tree) |
---|---|
Zeit | 2017-12-07 18:21:44 |
Autor | kgsoft <kgsoft@user...> |
Commiter | kgsoft |
BugTrack-wiki/288 : Farmセッションタイムアウトに関する件。クッキー削除時の有効期限
@@ -112,7 +112,7 @@ sub logout { | ||
112 | 112 | |
113 | 113 | # Cookie¤ÎÇË´þ |
114 | 114 | my $path = &Util::cookie_path($wiki); |
115 | - my $cookie = CGI::Cookie->new(-name=>'CGISESSID',-value=>'',-expires=>-1,-path=>$path); | |
115 | + my $cookie = CGI::Cookie->new(-name=>'CGISESSID',-value=>'',-expires=>1,-path=>$path); | |
116 | 116 | print "Set-Cookie: ".$cookie->as_string()."\n"; |
117 | 117 | |
118 | 118 | $wiki->redirectURL($wiki->create_url({action=>"LOGIN"})); |