Satanasov wrote:Do you have any idea how long does it take to log you off?
All ajax/active notifications empties auto-login cookie on my forum after few hours or few days. Without this extension auto-login cookie works fine.
"few hours to a few days"
It seems the longer someone has the forum-page open the faster they get logged out. Esp. the chatters where confronted with the issue most frequently.
Satanasov wrote:I've pushed a small patch that I think will do the trick ... but still not sure.
I cannot test anymore because I had to find a quick solution. So I switched to "tas2580/ajaxnotification" that one does not work with cookies. I reduced the reload frequency to 360sec to lower serverload. I believe not many people in our forum leave more than one window open and if some do with the setting of 6 minutes it is more than balanced.
With either ext I also took out the refresh of the notifications themselves - there is only a little badge to show new messages and users have to reload the page themselves.
What I tried to accomplish though, but did not succeed, was this: the original notification count would be updated and on opening the notifications modal the page would be reloaded and the modal shown. I mention this because it might be an alternative approach to get around all those issues with notifications layout, avatars etc. Also I suppose only retrieving the count instead of building the notification content every time even when not needed would reduce serverload quite a bit.