From 052c02fb042a307c689441ef32ef23e8451a3136 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Mon, 19 Jan 2015 13:30:30 +0200 Subject: [ci skip] feature/session (#3073): Extend a note about DB drivers and locking --- user_guide_src/source/libraries/sessions.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'user_guide_src/source') diff --git a/user_guide_src/source/libraries/sessions.rst b/user_guide_src/source/libraries/sessions.rst index 36b5415ac..3ca5aad17 100644 --- a/user_guide_src/source/libraries/sessions.rst +++ b/user_guide_src/source/libraries/sessions.rst @@ -581,10 +581,12 @@ also do the following, after creating the table:: ALTER TABLE ci_sessions ADD CONSTRAINT ci_sessions_id_ip UNIQUE (session_id, ip_address); .. important:: Only MySQL and PostgreSQL databases are officially - supported, due to lack of locking mechanisms on other platforms. - Using sessions without locks can cause all sorts of problems, - especially with heavy usage of AJAX, and we will not support - such cases. + supported, due to lack of advisory locking mechanisms on other + platforms. Using sessions without locks can cause all sorts of + problems, especially with heavy usage of AJAX, and we will not + support such cases. Use ``session_write_close()`` after you've + done processing session data if you're having performance + issues. Redis Driver ------------ -- cgit v1.2.3-24-g4f1b