[RSS Feed/News] Piece of data persisting from guest session to user session

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Figured it would be easy enough to ask the question in case there's a built-in mechanism to retain something from a guest session to a logged in/registered user session.

Currently I'm grabbing the existing session variable I stored within the XF\Session\Session::changeUser() method (before $this->regenerate(false)), then add it to the new session after $this->regenerate(false) is called. Not trying to call $this->regenerate(true) (keeping existing data, although it...

Read more

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