Welcome Guest, Not a member yet? Register   Sign In
Issues on database session / session driver
#4

(This post was last modified: 02-10-2020, 06:03 PM by dave friend.)

(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
Reply


Messages In This Thread
RE: Issues on database session / session driver - by dave friend - 02-10-2020, 06:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB