• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to load a session before loading the _display_cache () cache function?

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?

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.