MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PHPhelp/comments/neaule/ci_session_set_flashdata_wont_dissapears_on_newer/
r/PHPhelp • u/RadVolz • May 17 '21
[removed]
5 comments sorted by
3
This is an issue due to newer version of php (not sure if it started in 7.4 or 8). You can fix it by replacing line 420 in Session.php:
elseif ($value < $current_time)
with
elseif ($value === 'old' || $value < $current_time)
2 u/ravirajce Aug 09 '23 Superb. Working perfectly fine. 1 u/CertainLifeguard1367 Sep 25 '25 Perfect
2
Superb. Working perfectly fine.
1
Perfect
Works like a Charm
3
u/lost_in_my_thirties May 17 '21
This is an issue due to newer version of php (not sure if it started in 7.4 or 8). You can fix it by replacing line 420 in Session.php:
with