AJAX keeps killin my session |
[eluser]jhyland[/eluser]
So im using CI to manage my sessions, they are kept in the database, and it seems to work just fine, except when I have an AJAX page that repeatedly pulls from another page within the site (which requires a session), then it will kill the session rather quickly. EG: Code: [removed] That will query the json from that ajax feed as its updated, live, but it will kill the session rather quickly. Ive tried to expand the timeouts in both PHP settings and CI settings, no luck. Anyone else had this issue?
[eluser]b0ris55[/eluser]
Yup, something to do with CI updating session on a timed basis to prevent hijacking. I implemented a fix found here and it works, http://ellislab.com/forums/viewthread/138823/ |
Welcome Guest, Not a member yet? Register Sign In |