Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JForum and the fly likes Total Registered Users and Single Sign On Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JForum
Reply Bookmark "Total Registered Users and Single Sign On" Watch "Total Registered Users and Single Sign On" New topic
Author

Total Registered Users and Single Sign On

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
Excellent, thanks for the link and the quick response.



[originally posted on jforum.net by LouisTheLizard]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Total Registered Users and Single Sign On
 
Similar Threads
Caching issue
RemoteSSO?
SSO and the SessionId
Browser cookie session doesn�t get deleted
Click tracking in Java