I’m setting a Session variable with an ajax call. I’ve tried both by using the helper and by using the straight PHP $_SESSION syntax. For some reason, whenever I reload the page, all SESSION data is gone.
What is annoying about this, is that it happens sporadically. I thought at first, it had to do with the browser I was using, but it does not. I have tried changing all the Session settings in core.php and no combination seems to be reliable.
Any thoughts as to how I can fix this problem?
You’ll want to open the
app/config/core.phpfile and modify theSecurity.levelsection. From the manual:Search the
core.phpfile forSecurity.leveland change the setting tolowand ensure youSession.timeoutvalue is high enough. You may have to play with both of these settings until your satisfied.