Commit graph

9 commits

Author SHA1 Message Date
Alex Tselegidis
af2e3a065f Skip regenerate if session is not active 2024-05-22 11:18:22 +02:00
Alex Tselegidis
1f17ae6376 Suppress session_regenerate_id warning 2024-05-21 23:53:28 +02:00
Alex Tselegidis
264f02baf7 Suppress session start warning 2024-05-11 19:21:50 +02:00
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
3a6f347246 Re-introduced the system folder to the root directory and removed it from the composer.json file (#1109). 2021-08-24 16:34:13 +03:00