[wp-hackers] The WordPress way to store temporary per user data (sessions)?
austin at ilfilosofo.com
Wed Sep 15 22:03:27 UTC 2010
On Wed, Sep 15, 2010 at 4:44 PM, Kevin Newman <CaptainN at unfocus.com> wrote:
> What's the WordPress way to store temporary per user data (sessions)?
WordPress core does not use sessions, so there is no common way of doing it.
However, since in general WP tends to put temporary data in the
database (I'm thinking of WP transients) and has over time moved away
from core file caching, I would speculate that if there were to be a
WP way, it would be to use session_set_save_handler and define
callbacks that interact with the database.
More information about the wp-hackers