Skip to content

Commit

Permalink
Item13883: Expose Session related config parameters
Browse files Browse the repository at this point in the history
 - IP Session matching is an important parameter that should really not
   be out-of-sight.
 - Guest Sessions isn't all that experimental any more. It's been
   running on Foswiki.org for several releases, and is useful for a
   performance boost on sites with a heavy bot workload.
  • Loading branch information
gac410 committed May 14, 2017
1 parent 8d7758b commit c2ce3a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/lib/Foswiki.spec
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ $Foswiki::cfg{Sessions}{CookiePath} = '/';
# If empty, no prefix is added.
$Foswiki::cfg{Sessions}{CookieNamePrefix} = '';

# **BOOLEAN LABEL="Use IP Matching" DISPLAY_IF="{UseClientSessions}" CHECK="iff:'{UseClientSessions}'" EXPERT**
# **BOOLEAN LABEL="Use IP Matching" DISPLAY_IF="{UseClientSessions}" CHECK="iff:'{UseClientSessions}'" **
# Enable this option to prevent a session from being accessed by
# more than one IP Address. This gives some protection against session
# hijack attacks.
Expand All @@ -316,11 +316,11 @@ $Foswiki::cfg{Sessions}{CookieNamePrefix} = '';
# IP Matching for security purposes, so it is now enabled by default.
$Foswiki::cfg{Sessions}{UseIPMatching} = 1;

# **BOOLEAN LABEL="Enable Guest Sessions" DISPLAY_IF="{UseClientSessions}" CHECK="iff:'{UseClientSessions}'" EXPERT**
# **BOOLEAN LABEL="Enable Guest Sessions" DISPLAY_IF="{UseClientSessions}" CHECK="iff:'{UseClientSessions}'" **
# On prior versions of Foswiki, every user is given their own CGI Session.
# Disable this setting to block creation of session for guest users.
#
# This is EXPERIMENTAL. Some parts of Foswiki will not function without a
# Note: Some parts of Foswiki will not function without a
# CGI Session. This includes scripts that update, and any wiki applications
# that make use of session variables.
$Foswiki::cfg{Sessions}{EnableGuestSessions} = 1;
Expand Down

0 comments on commit c2ce3a4

Please sign in to comment.