diff options
author | Andrey Andreev <narf@devilix.net> | 2015-01-19 12:30:30 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-01-19 12:30:30 +0100 |
commit | 052c02fb042a307c689441ef32ef23e8451a3136 (patch) | |
tree | 3839524ecd3bfa4fd7c8a7706eaf33e3489d2641 /user_guide_src/source | |
parent | 9e82b0d00cbe83d6cdfa914628023cb98d70c933 (diff) |
[ci skip] feature/session (#3073): Extend a note about DB drivers and locking
Diffstat (limited to 'user_guide_src/source')
-rw-r--r-- | user_guide_src/source/libraries/sessions.rst | 10 |
1 files changed, 6 insertions, 4 deletions
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 ------------ |