Commit Graph

38 Commits (baecd8becccd7786632c1cda895123293ceb1408)

Author SHA1 Message Date
Aleksander Machniak ef5f7fb13c There's a case (reason unknown) when destroy() is called with empty session key.
Handle this case properly to prevent from PHP error: Memcache::delete(): Key cannot be empty.
13 years ago
Aleksander Machniak 4d708e6c1d Remove possible confusion on session reads - PHP expects string result not boolean 13 years ago
Aleksander Machniak 041c93ce0b Removed $Id$ 13 years ago
thomascube 58154f59fc Accept two past time slots for auth cookie validation; don't encode user-agent into session auth hash (#1488449) 13 years ago
alecpl be98dfc2c0 - Replace some references to rcmail with rcube 13 years ago
alecpl 1aceb9cec8 - Framework refactoring (I hope it's the last one):
rcube,rcmail,rcube_ui -> rcube,rcmail,rcube_utils
  renamed main.inc into rcube_bc.inc
13 years ago
alecpl 0c259682f6 - Merge devel-framework branch, resolved conflicts 13 years ago
thomascube c73efcc7bb Reset IP stored in session when destroying session data (#1488056) 13 years ago
thomascube fec2d8e130 Refactored IMAP cache expunge: delegate to storage object; don't rely on deprecated 'enable_caching' config option 13 years ago
thomascube 7fe3811c65 Changed license to GNU GPLv3+ with exceptions for skins and plugins 13 years ago
alecpl 72ff6ae884 - Simplified compose session data handling, no need for session->cleanup() 13 years ago
thomascube 8c2b883bf0 Fix: decode session data into superglobals after re-reading 13 years ago
thomascube 81f5dd7774 Consider replication delays in session storage 13 years ago
alecpl d96a15e24f - Improve performance by skipping redundant SELECT query when writing new session into DB 13 years ago
thomascube 06dc9838e0 Fix session race conditions when composing new messages 13 years ago
alecpl 612eeca739 - Removed leftover code 13 years ago
thomascube 21030324d0 Improved memcache connection procedure from release-0.6; use call_user_func to trigger session gc handlers 13 years ago
thomascube 1a716d2d34 Add copyright line on files with significant changes from Kolab Systems 13 years ago
thomascube fcc7f861b1 Log session validation errors; keep error message when redirecting to login after session error 13 years ago
thomascube 76d4019a35 Get memcache object from rcmail instance 14 years ago
thomascube ff4ffc6d54 Revert r4746 due to timestsamp issues with mysql; deprecate rcube_mdb2::unixtimestamp() 14 years ago
thomascube 125894d35d Fix expression 14 years ago
thomascube 638e3459d6 Don't attempt to read session data again if the initial read didn't return a result 14 years ago
thomascube 60a277f1ce Fix callback reference after rename 14 years ago
alecpl 68f39efb04 - Fix fatal error from last commit (#1487884), rename rcube_gc() to gc() 14 years ago
thomascube 63e9927d5f Add support for session storage using memcache 14 years ago
thomascube 4591de7018 Prepare for multiple concurrent compose windows 14 years ago
alecpl c294eaa3f2 - Performance improvement: Remove redundant DELETE query (for old session deletion) on login 14 years ago
thomascube fb061aaece Use PHPs session_regenerte_id() instead of using (unreliable) mt_rand() function (#1486281) 14 years ago
thomascube 784a425e07 protect login form submission from CSRF using a request token 14 years ago
thomascube 88ca38a356 Keep rcube_session->lifetime and keep_alive in sync 14 years ago
thomascube cf2da2f9aa Improve session validity check with changing auth cookies; reduce writes to DB; better phpdoc 14 years ago
thomascube f5e7b35307 Bumbed version; Roundcube development is not Switzerland only 14 years ago
thomascube eee6944b5d Save session data with bas64 ecoding to make it more robust against garbage data (#1487136) 14 years ago
alecpl ca1f564598 - Performance fix for case when session_lifetime=0, fixed indentation 14 years ago
alecpl e019f2d0f2 - s/RoundCube/Roundcube/ 14 years ago
thomascube d062dbe18c Add class docuumentation blocks and make phpdoc work again 15 years ago
alecpl 929a508d80 - Improve performance by avoiding unnecessary updates to the session table (#1486325) 15 years ago