I’m creating an add-on module to be used in EE 2.1.0, and it uses the session identifier to keep track of some values. I mean, I store the session identifier in the data base “to know if it’s available”. This way some data is only available to the current session. So you can’t access to some data if your session Id doesn’t match the one stored in the database.
The problem is that sometimes the session identifier expires but “login” is still alive, even if I’m not using the “remember me” option.
Is this an issue? Or may be I’m doing it wrong? Is it possible to know when the session identifier is modified to update it, or should I use another way to relation data with session? I know I can use “flash data” or just serialize the data inside the session itself, but customer wants to save it to the data base…