Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Total Registered Users and Single Sign On

 
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: https://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]
 
So you made a portal in time and started grabbing people. This tiny ad thinks that's rude:
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
    Bookmark Topic Watch Topic
  • New Topic