Wutime
Well-known member
Hoping someone can help: I've extended the /XF/Entity/Session to track a special cookie value pair for guests.
When an occurrence is found I want to redirect the current guest visitor to the registration page.
What is the best method of redirection? /XF/Entity/Session has no redirect methods and PHP Header("Location") is messy.
Can anyone point me in the right direction of what method or existing class to use for best practices, and how to use that from /XF/Entity/Session if possible?
Thank you very much in advance.
When an occurrence is found I want to redirect the current guest visitor to the registration page.
What is the best method of redirection? /XF/Entity/Session has no redirect methods and PHP Header("Location") is messy.
Can anyone point me in the right direction of what method or existing class to use for best practices, and how to use that from /XF/Entity/Session if possible?
Thank you very much in advance.