1
# See bottom of file for license and copyright information
2
package Foswiki::Configure::Checkers::UseClientSessions;
6
use Foswiki::Configure::Checker;
8
use base 'Foswiki::Configure::Checker';
12
name => 'CGI::Session',
17
name => 'CGI::Cookie',
19
recommendedVersion => 1,
27
if ( !eval "use CGI::Cookie; 1" ) {
29
The CGI::Cookie Perl module is required for session support, but is not
33
if ( !eval "use CGI::Session; 1" ) {
35
The CGI::Session Perl module is required for session support, but is not
40
if ( $Foswiki::cfg{UseClientSessions} ) {
41
$mess = $this->ERROR($mess);
44
$mess = $this->WARN($mess);
53
# Foswiki - The Free and Open Source Wiki, http://foswiki.org/
55
# Copyright (C) 2008 Foswiki Contributors. All Rights Reserved.
56
# Foswiki Contributors are listed in the AUTHORS file in the root
57
# of this distribution. NOTE: Please extend that file, not this notice.
59
# Additional copyrights apply to some or all of the code in this
62
# Copyright (C) 2000-2006 TWiki Contributors. All Rights Reserved.
63
# TWiki Contributors are listed in the AUTHORS file in the root
64
# of this distribution. NOTE: Please extend that file, not this notice.
66
# This program is free software; you can redistribute it and/or
67
# modify it under the terms of the GNU General Public License
68
# as published by the Free Software Foundation; either version 2
69
# of the License, or (at your option) any later version. For
70
# more details read LICENSE in the root of this distribution.
72
# This program is distributed in the hope that it will be useful,
73
# but WITHOUT ANY WARRANTY; without even the implied warranty of
74
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
76
# As per the GPL, removal of this notice is prohibited.