Vanilla open source was terminated 1 January 2025 by Higher Logic. See this announcement for more information.
Best quick cache solution for vanilla?

I've fixed OpenId plugin, and it required using some server-side storage for really short amount of time - just between 2 pages. What would be best solution for this?
Gdn::Cache() seems to be not working, Gdn::Session->SetAttribute() works only at runtime, Gdn::Session->SetPreference() works for registered users only (while this is at registration process).
$_SESSION is not being used in vanilla at all. Is it ok to start php session and use it?
Gdn::Cache() seems to be not working, Gdn::Session->SetAttribute() works only at runtime, Gdn::Session->SetPreference() works for registered users only (while this is at registration process).
$_SESSION is not being used in vanilla at all. Is it ok to start php session and use it?
0
Best Answer
-
Linc Admin
There is now $Session->Stash() for popping stored variables in and out of the session array. I'm not sure where it got added, but it's been in all the .18 betas.0
Answers
There was an error rendering this rich post.