You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
53: // Use session cache to avoid DB query on every page load.
54: // Cache is invalidated when the user visits the profile edit page.
55: if (!empty($SESSION->local_forceprofile_complete)) {
56: return;
57: }
Hello,
Plugin stores data in $_SESSION instead of using Moodle's Cache API with MODE_SESSION for better security and scalability.
Documentation:
Code excerpts:
lib.php