Welcome Guest, Not a member yet? Register   Sign In
How to load a session before loading the _display_cache () cache function?
#1

(This post was last modified: 01-30-2020, 03:06 PM by paulo kraker.)

Good morning, I'm using the _write_cache () function inside the Output.php file to generate the files type cache, and then the function using _display_cache () to load the page if it was already with cache.

To load the page with cache I saw that CodeIgniter uses this function _display_cache (), inside it or before it needed to get a value in session from a user to know if he is logged in or not. I saw that this function does not access any other force.

I've tried it all the way including via hooks and it didn't work either.

How do I load a session before loading the cached page?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB