Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Total Registered Users and Single Sign On

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I set up jforum recently and noticed that the total number of registered users printed on the bottom of the forum index doesn't update unless I restart the app server. I did set up a single sign on using a cookie as described elsewhere on this site and was wondering if that is the cause of this problem.

BTW - The single sign on class I created implements net.jforum.sso.SSO and reads a user cookie then returns the username while adding the email and password to the session. It basically follows the examples exactly as described and works fine.
[originally posted on jforum.net by LouisTheLizard]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See: http://www.coderanch.com/t/577995 #18668

Basically, if you use SSOUtils.register to create users (or some of the code samples), it doesn't update the in memory repository... probably technically a bug but there are reasons you might not want to do this...
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Excellent, thanks for the link and the quick response.



[originally posted on jforum.net by LouisTheLizard]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic