Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14115

Re-entrancy and files based sessions

$
0
0
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.

Viewing all articles
Browse latest Browse all 14115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>