Keşfet

Adding a $visitor['myvar'] = 6 in guest sessions?

XFdestek

Kurucu Üye
Katılım
25 May 2014
Mesajlar
3,195
Tepkime puanı
284
Konum
Türkiye
Web sitesi
fivetu.xyz
From what I guess, sessions are stored in XenForos Database in xf_session, so if I put a variable into the $visitor array, I could track that value during the visit of my guest user.

But how can I store a value into $visitor? In XenForo_Visitor the only write function I see is ::setup($userId, $option). Do you have a clue, where I could start? Currently I work with cookies, but because of security I have to create sessionIds anyway and I don't want to reinvent the wheel.
 

Konu görüntüleyen kullanıcılar

Geri
Üst Alt