Commit graph

8 commits

Author SHA1 Message Date
Alex Tselegidis
4c7ca40952
Merge pull request #1518 from sudwebdesign/develop-config-sess_regenerate_destroy
Fix CodeIgniter creating a lot of session files
2024-05-11 19:18:55 +02:00
Alex Tselegidis
338f9dec29 Suppress session warnings 2024-05-09 18:53:05 +02:00
Thomas Ingles
8e415fcf10
Fix session::sess_regenerate $delete_old_session always null
Fix bad transtyped bool
throw error on login
session_regenerate_id(): Passing null to parameter #1
($delete_old_session) of type bool is deprecated
2024-04-30 15:52:34 +02:00
Thomas Ingles
2cce9a8bba
Fix CodeIgniter creating a lot of session files
Fix When login CI call sess_regenerate() but do not apply
config 'sess_regenerate_destroy' & always create new file

After this, a session folder have one file by user logged
and clean old session files in storage/sessions folder

To test : in application/config.php
`$config['sess_time_to_update'] = 3;`

see
https://bobcares.com/blog/codeigniter-generating-too-many-sessions-files-resolved
2024-04-30 01:45:38 +02:00
Alex Tselegidis
04a63fd802 Suppress session start PHP warning (#1405) 2023-10-30 10:56:58 +01:00
Alex Tselegidis
10ce6bbf11 Correct deprecation warning on cookies 2023-03-13 07:42:49 +01:00
Alex Tselegidis
ed178ca631 PHP 8.1 support (#1209) 2022-02-23 09:35:50 +01:00
Alex Tselegidis
c1914fa41b Add the new system directory (#1207) 2022-02-23 08:22:57 +01:00