Skip to content

Commit e7aa97b

Browse files
committed
docs: move note up
1 parent cf775dc commit e7aa97b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

user_guide_src/source/libraries/sessions.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,14 @@ into using `tmpfs <https://eddmann.com/posts/storing-php-sessions-file-caches-in
525525
DatabaseHandler Driver
526526
======================
527527

528+
.. important:: Only MySQL and PostgreSQL databases are officially
529+
supported, due to lack of advisory locking mechanisms on other
530+
platforms. Using sessions without locks can cause all sorts of
531+
problems, especially with heavy usage of AJAX, and we will not
532+
support such cases. Use ``session_write_close()`` after you've
533+
done processing session data if you're having performance
534+
issues.
535+
528536
The 'DatabaseHandler' driver uses a relational database such as MySQL or
529537
PostgreSQL to store sessions. This is a popular choice among many users,
530538
because it allows the developer easy access to the session data within
@@ -595,14 +603,6 @@ from the cli to generate a migration file for you::
595603
This command will take the **savePath** and **matchIP** settings into account
596604
when it generates the code.
597605

598-
.. important:: Only MySQL and PostgreSQL databases are officially
599-
supported, due to lack of advisory locking mechanisms on other
600-
platforms. Using sessions without locks can cause all sorts of
601-
problems, especially with heavy usage of AJAX, and we will not
602-
support such cases. Use ``session_write_close()`` after you've
603-
done processing session data if you're having performance
604-
issues.
605-
606606
.. _sessions-redishandler-driver:
607607

608608
RedisHandler Driver

0 commit comments

Comments
 (0)