Aleksander Machniak
0f4f85e097
Skip redundant INSERT query on successful logon when using PHP7
...
Since PHP 7.0 session_regenerate_id() will cause the old session data update.
This is redundant INSERT query and also produces a record for the session
we don't need anymore.
7 years ago
Aleksander Machniak
8c75dd3aa8
Add convenient method to create new session records
8 years ago
Aleksander Machniak
d72e5afb47
Fix PHP7 warning "session_start(): Session callback expects true/false return value" ( #1490624 )
9 years ago
Aleksander Machniak
cd219a45dd
Fix regression where some message attachments could be missing on edit/forward ( #1490608 )
9 years ago
Aleksander Machniak
7bbb86f78a
Session read handler must return a string in PHP7
9 years ago
Aleksander Machniak
f75bc5c24b
Use random security tokens instead of hashes based on encryption key ( #1490404 )
9 years ago
Aleksander Machniak
93e64008a6
Small code improvements
9 years ago
Aleksander Machniak
e2bceaefe6
Support more secure hashing algorithms for auth cookie - configurable by PHP's session.hash_function ( #1490403 )
9 years ago
Aleksander Machniak
a958748947
CS fixes
10 years ago
Thomas Bruederli
87ff88d550
Fix session garbage collector handler registration after refactoring
10 years ago
corbosman
b4be89bdac
use factory
10 years ago
corbosman
4df4ab5007
session refactor and add redis driver
10 years ago
Aleksander Machniak
34a0902089
Use consistent column/table quoting in sql queries
10 years ago
Thomas Bruederli
17acd5ccda
Use public property instead of setter method to improve compatibility
11 years ago
Thomas Bruederli
14291c79db
Add option to suppress session data writes to DB
11 years ago
Thomas Bruederli
1e7d1240ed
Avoid rcube_session::reload() to reset previous changes. This fixes parallel attachment uploads that could get lost when using the database_attachments plugin
11 years ago
Thomas Bruederli
1a8cf64dd1
Avoid session timeouts with memcache backend as proposed by D. Carter via users mailing list
11 years ago
Thomas Bruederli
4d480b36ea
Respect HTTP_X_FORWARDED_FOR and HTTP_X_REAL_IP variables for session IP check
11 years ago
Aleksander Machniak
3dbe4f79e4
Fix session issues when local and database time differs ( #1486132 )
...
Improve performance by executing session gc on script shutdown, also call session_write_close() ASAP
12 years ago
Thomas Bruederli
42de33c7de
Add option to use PHP's native session save handlers
12 years ago
Victor Benincasa
3906264747
Fix typos
12 years ago
Thomas Bruederli
f603883d37
Fix typo
12 years ago
Thomas Bruederli
4034a79beb
Check for exact matching session keys before splitting into path segments. Adds backwards-compatibility after commit f0a7159c
12 years ago
Thomas Bruederli
f0a7159c40
Add methods to append certain nodes to session data in order to avoid session saving race conditions. Fixes #1488422
12 years ago
Aleksander Machniak
0d214498d0
CS fixes
12 years ago
Aleksander Machniak
d2534c63f2
Cleanup, remove file paths from doc
12 years ago
Aleksander Machniak
ba6f21caeb
Framework files moved to lib/Roundcube
12 years ago