Pending Logged In Cookie

Nirjonadda

Customer
Please can you add option sets a cookie for logged in users. This is particularly helpful if you want to implement caching for guests (through things like FastCGI cache, Varnish, etc.), as XenForo doesn't provide a reliable way to distinguish guests from logged in users out of the box (via cookies).

Features:

Sets "(cookie_prefix)logged_in" (i.e. "xf_logged_in") cookie for logged in users.
Displays page as a guest if user is logged in, and cookie isn't present (and sets it again), so that a user can't remove it and cache the page as if they were a guest (while still logged in).

EX: Logged In Cookie | XenForo Community
 
Upvote 0

Similar threads

Back
Top