Where are cookies set?

LandNetwork

Member
I'm looking to authenticate against XenForo from an application on an external domain but to do so I'd need to have a way to, where cookies are set, define a value in a shared Memcached server. To do this, I need to know where XenForo, in it's PHP code, actually creates said cookies.
 

Liam W

Well-known member
I'm looking to authenticate against XenForo from an application on an external domain but to do so I'd need to have a way to, where cookies are set, define a value in a shared Memcached server. To do this, I need to know where XenForo, in it's PHP code, actually creates said cookies.
library/XenForo/Helper/Cookie.php is used for all XenForo cookies (unless an add-on manually does them, to stop them from being deleted on logout).

All methods are static though, so you'd need to modify the files to add code.

Liam
 
Top