Skip to content

Commit

Permalink
Add description of the aRequireSessionWithParams config option.
Browse files Browse the repository at this point in the history
  • Loading branch information
vilmal committed Nov 2, 2016
1 parent dd7c097 commit cfa7ab1
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions config_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,44 @@ Some classes can be overloaded, but only by setting up this information in confi
</pre>

##aRequireSessionWithParams
This configuration array specifies additional request parameters, which, if received, forces a new session being started.

This is the default array with the request parameters and their values, which forces a new session:
<pre>
array(
'cl' => array(
'register' => true,
'account' => true,
),
'fnc' => array(
'tobasket' => true,
'login_noredirect' => true,
'tocomparelist' => true,
),
'_artperpage' => true,
'ldtype' => true,
'listorderby' => true,
);
</pre>

If you want to extend this array include in config.inc.php file this option:
<pre>
$this->aRequireSessionWithParams = array(
'parameter_name' => array(
'parameter_value' => true,
)
);
</pre>
The keys of the array are the names of parameters and the values of the arrays are the parameter values that lead to the
session being started, e.g:
<pre>
$this->aRequireSessionWithParams = array(
'fnc' => array(
'login_noredirect' => true,
),
'new_sid' => true
);
</pre>

##blUseCron
Enables or disables the use of cron jobs in config.inc.php
Expand Down

0 comments on commit cfa7ab1

Please sign in to comment.