Skip to content

Commit aaf95af

Browse files
committed
docs: update old session config names
1 parent eea5087 commit aaf95af

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

user_guide_src/source/libraries/sessions.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ Preference Default Opti
435435
unexpected results or be changed in the future. Please configure
436436
everything properly.
437437

438-
.. note:: If ``sessionExpiration`` is set to ``0``, the ``session.gc_maxlifetime``
438+
.. note:: If ``expiration`` is set to ``0``, the ``session.gc_maxlifetime``
439439
setting set by PHP in session management will be used as-is
440440
(often the default value of ``1440``). This needs to be changed in
441441
``php.ini`` or via ``ini_set()`` as needed.
@@ -597,10 +597,10 @@ For PostgreSQL::
597597
You will also need to add a PRIMARY KEY **depending on your $matchIP
598598
setting**. The examples below work both on MySQL and PostgreSQL::
599599

600-
// When sessionMatchIP = true
600+
// When $matchIP = true
601601
ALTER TABLE ci_sessions ADD PRIMARY KEY (id, ip_address);
602602

603-
// When sessionMatchIP = false
603+
// When $matchIP = false
604604
ALTER TABLE ci_sessions ADD PRIMARY KEY (id);
605605

606606
// To drop a previously created primary key (use when changing the setting)

0 commit comments

Comments
 (0)