Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Users's post show another username as the poster!

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I searched jira and your forums and I can't find this reported, so here it goes....

In the last week, two members in our jforum, posted a message and another member's userid was showing as being logged on instead of the originator who was logged on. In other words, under "Logout [Susie]," it would show "Logout [Linda]" and the post would be labelled as being posted by Linda when the actual person that was logged on was Susie! Both members appear to have used the auto-login (when you return) feature. And, they were located 300 miles away from each other.

Have you heard of this before? Any ideas as to what could cause it?
[originally posted on jforum.net by vivie]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This could have something to do with the security issue I reported as well. Maybe users' sessions are getting hijacked or swapped somehow...just a thought.

Brakker
[originally posted on jforum.net by coolbreeze]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are your / users behing a proxy? I have seen this problem occur once with an user that was accessing the web through a proxy, which by its turn was doing heavy caching of data.

JForum uses some cookies and hashes (each user has an unique hash), so if the proxy "mix" the data for some reason, we may run in trouble.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply, Rafael.

Rafael Steil wrote:Are your / users behing a proxy? I have seen this problem occur once with an user that was accessing the web through a proxy, which by its turn was doing heavy caching of data.



Yes, everybody is. The problem occurred to two users in one week. It is not a heavy board. It has just 18 registered members.

Rafael Steil wrote:JForum uses some cookies and hashes (each user has an unique hash), so if the proxy "mix" the data for some reason, we may run in trouble.



Cookies are saved locally, so that can't be the issue. The two individuals, as I said, were participating in the class jforum from two different parts of the state of California. How are sessions saved in the database? The "mix" must happen at that level - we need to pinpoint why.

[originally posted on jforum.net by vivie]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The user under which their post messages were published was logged in at the same time?

It might be a sinchronization issue as when two people posting at the same time will get some data "mixed", due to resources shared between requests/sessions not properly synchronized.


[originally posted on jforum.net by GreenEyed]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

GreenEyed wrote:The user under which their post messages were published was logged in at the same time?



It is possible. I have no way of knowing this. It was reported to me later, but I was not watching it in action.

GreenEyed wrote:It might be a sinchronization issue as when two people posting at the same time will get some data "mixed", due to resources shared between requests/sessions not properly synchronized.



If sinchronization issues can cause problems twice in one week with a JForum installation that has only 18 users registered, it is worrisome.

[originally posted on jforum.net by vivie]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't have that extensive experience with JForum as to confirm or deny that, but synchronization issues are not necessary related to "scale", but more with Murphy's law ;).

As an example, 1 month ago we had a similar problem with a webmail package we are using, as a mail a student sent came up on the "sent" folder of a teacher. The reason behind that in the end was that they had logged in exactly in the same millisecond!! The product is closed source so we cannot look at it/fix it, so we are now looking for a replacement.

On a side note, it was mentioned not long ago that JForum synchronization is a bit "lacking" (see thread: JForum - load test), and that's why this possibility came to my mind.
[originally posted on jforum.net by GreenEyed]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Version 2.1.5 has fixed those sync problems.

However, I"m still thinking about the proxy thing... if this problem is related to proxy, then we have a such big problem.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I haven't had this problem yet and I am running 2.1.5 on a busy production system.


[originally posted on jforum.net by coolbreeze]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, thanks. Good to hear. We are running JForum 2.1.4, so perhaps 2.1.5 has fixed these issues.
[originally posted on jforum.net by vivie]
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic