Commit graph

8 commits

Author SHA1 Message Date
Alex Tselegidis
ffde07a483 Suppress session start warning 2024-05-11 19:29:14 +02:00
Thomas Ingles
40cab55a02 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-05-11 19:29:14 +02:00
Thomas Ingles
97d9219484 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-05-11 19:29:14 +02:00
Alex Tselegidis
2b490775af Suppress session warnings 2024-05-11 19:29:08 +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