Using Xataface 3 with a CodeIgniter session

22 views
Skip to first unread message

Frank Sokolic

unread,
Aug 15, 2024, 8:01:52 AM8/15/24
to Xataface
Hi,

We're having a small problem related to sessions when using Xataface together with CodeIgniter. We have developed an app using CodeIgniter 4.4.8 and we're using Xataface 3.0.3 for one component of the app. CodeIgniter starts a session before we call Xataface and sets the UserName session variable for Xataface to use.

This works fine apart from an error that is generated by the code session_cache_limiter('public'); in the file js.php. This generates the following error:
Session_cache_limiter(): Cannot change cache limiter when session is active

The error goes away if I comment out session_cache_limiter('public'). Will this cause a problem with Xataface? With CodeIgniter the cache limiter is set as nocache.

Frank.
Reply all
Reply to author
Forward
0 new messages