General developer forum

USER-> Cached test (how to avoid?)

 
Picture of Darko Miletić
Re: USER-> Cached test (how to avoid?)
Core developersParticularly helpful Moodlers

You should not be doing that. If there is some data that you want to store and update during the session use the global session object like this:

global $SESSION;

$SESSION->myitem = 123;



 
Average of ratings: Useful (1)