Commit Graph

13 Commits

Author SHA1 Message Date
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 e7a757e124 Improve the validation check 2024-03-22 15:11:10 +00: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 5144823993 Suppress the permission problem when migrating from one linux installation to another 2023-02-27 08:51:43 +01:00
Alex Tselegidis abcc46db94 Add PHP8.2 support to the application 2023-01-26 09:17:45 +01:00
Alex Tselegidis a00291080a Suppress the output of internal PHP errors when sending mails as there's custom handling for that 2022-03-29 11:41:21 +02:00
Alex Tselegidis 047a41bab1 PHP 8.1 support (#1209) 2022-02-23 12:52:47 +01:00
Alex Tselegidis 0100d0bd63 PHP 8.1 support (#1209) 2022-02-23 11:02:18 +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