Issues on database session / session driver |
(02-10-2020, 05:40 AM)UC_SUJITH Wrote: The function "sess_regenerate" simply calling the php session_regenerate_id(). As per the php manual, session_regenerate_id() will not handle unstable networks such as Mobile and Wifi and the session value may lose. I think, this can be the reason behind creating multiple sessions for a single user. That is, somehow php or apache identified my network as unstable and session library couldn't handle this situation. I think, Codeigniter native session library is not enough for my application. You can eliminate the call to session_regenerate_id() by using the following setting in /application/config/config.php PHP Code: $config['sess_regenerate_destroy'] = false; |
Messages In This Thread |
Issues on database session / session driver - by UC_SUJITH - 02-04-2020, 08:20 AM
RE: Issues on database session / session driver - by Goddard - 02-10-2020, 04:30 AM
RE: Issues on database session / session driver - by UC_SUJITH - 02-10-2020, 05:40 AM
RE: Issues on database session / session driver - by dave friend - 02-10-2020, 06:03 PM
|