After I log in and then close the browser and log in again, it says under "Online users" that I am logged in twice. If I do it again, it has my name listed three times.

CommentFileSizeAuthor
#3 whose-online-patch.txt1.09 KBbjaspan

Comments

bjaspan’s picture

Title: Signed in more than once » Who's Online block can show users multiple times
Project: Persistent Login » Drupal core
Version: 5.x-1.0 » 6.x-dev
Component: User interface » user system
Status: Active » Needs review

This was reported as a bug in Persistent Login but is actually a behavior of the user.module Who's Online block. If a user is logged in more than once (from the same browser or multiple browsers), the user will appear in Who's Online more than once (for 15 minutes).

I'm not sure if this is the intended behavior or not. If users should only be listed once, the attached patch fixes the problem. If users should be listed multiple times, there is no bug and this issue should be closed.

RobRoy’s picture

Status: Needs review » Closed (duplicate)
bjaspan’s picture

Status: Closed (duplicate) » Needs review
StatusFileSize
new1.09 KB

Ooops, here's the patch.

RobRoy’s picture

Status: Needs review » Closed (duplicate)

Crossed.