[RSS Feed/News] Redirect to 'register' page from /XF/Entity/Session

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
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...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom