Change the name of the session cookie. This will avoid problems with

multiple wikis on the same host.
master
joey 2006-03-29 00:21:57 +00:00
parent 9c2f67454b
commit b5656f595d
1 changed files with 2 additions and 2 deletions

View File

@ -483,8 +483,8 @@ sub cgi () { #{{{
return;
}
CGI::Session->name("ikiwiki_session");
CGI::Session->name("ikiwiki_session_$config{wikiname}");
my $oldmask=umask(077);
my $session = CGI::Session->new("driver:db_file", $q,
{ FileName => "$config{wikistatedir}/sessions.db" });