XF 1.2 Memcache - Name of Session Key?

Bill.D

Active member
Hey all,

Does anyone know what Xenforo uses for the key name that holds the Session value in memcache? And then to continue along that, how would you then get the user ID?

For the more technical aspect, here is what I am trying to do:

Use:
PHP:
$_COOKIE['xf_session']
To get the session ID and then,
PHP:
$memcache_obj->get("xf_user_id");
based off of the session ID.

Thanks,
-Bill
 
Last edited:
Back
Top Bottom