Welcome Guest, Not a member yet? Register   Sign In
Re-entrancy and files based sessions
#1

I am using file based (default) sessions. I am a little concerned about re-entrance. My program actually has two doors to get in. The first is a regular old CI app entrance where a user logs in via community auth (I am working on this login).

The second way in is via xhr. A user ( different user than the ones who logged in via community auth), sends a message to a different controller, which then fiddles with some of the same tables, logs some data, and goes away.

I am slightly worried about re-entrancy.  Can I assume that each user (the logged in one,and the xhr one) will cause separate sessions. Also, do I need to close the session in the xhr manually? I am not manually cleaning up the sessions.
proof that an old dog can learn new tricks
Reply
#2

Php sessions allow for a single session per browser. Community Auth only stores it’s Auth identifier in the session.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB