Explain pls?You can probably assign the data to the user's session instead if you want it to be kept. Will probably be cleaner than cookies as well
That probably means that you don't store anything on a client but instead do it all on the server-side tracked by user_id.Explain pls?
Explain pls?
\XF::app()->getSession()
and the methods available within it. You can use this if you want it to be used while the user is logged in on a specific device (until they log out, clear cookies, or otherwise generate a new session), but if you want it to persist across sessions and between devices for a user doing what XF does for the what's new filter would be the way to go probably.Got it! Thanks... But again, why use this instead of cookies?Code:$session = $this->session(); $sessionData= $session->get('sessionname');
We use essential cookies to make this site work, and optional cookies to enhance your experience.