6.x line of servers
A web user self-registers for a site. Registration app works beautifully, creating a user profile and adding user to appropriate group.
If user waits 3 to 5 minutes, s/he can log in beautifully. Before then, no joy.
I’d welcome any suggestions; have spent 3 days combing Notes forums and tried everything that I’ve found, to no avail. I’d kinda like it to be instantaneous, given that that seems to be the norm everywhere else on the web.
p.s. user goes into a secondary address book listed in Directory Assistance, and into a nested group listed in names.nsf on server. The nested group is as per Lotus’s first demo reg database back in the 1990s.
Randal Oulton
Subject: You need to refresh some views
this can be done in te registration agent with something like:
'Refreshing NAB views for immediate login Set view = dbreg.GetView(“($LDAPCN)”)
Call view.Refresh()
Set view = dbreg.GetView("($ServerAccess)")
Call view.Refresh()
Subject: RE: You need to refresh some views
Yes, I figured that refreshing those views would do it too, but it hadn’t.
Can anyone tell me if they have ever succeeded at what I am trying to do, or is it just mission impossible in Domino?
Subject: The issue is with group caches not being updated immediately
To see the group cache on the server console, enter sh nlcache.To reset, enter show nlcache reset.
One way to force the group cache to get updated immediately is have an agent issue the reset command via the “notesSession.SendConsoleCommand()” method after the registration took place.
Subject: RE: The issue is with group caches not being updated immediately
Thanks, Thomas, that idea looked really promising as well, to a desperate man… but gave it a thorough try yesterday and it didn’t do the trick.
I have since discovered that even if I individually enter a user in the database’s ACL, and then register the user (thus bypassing any possible group refresh issue), it still takes up to 5 minutes before the new user can log in.
Has anyone been able under Notes 6 to get new self-registered users to be able to login in right away?
Randal Oulton
Subject: yes and no, I have a similiar issue (Lotus - please consider fixing this in 7!)
I can login right away (try it at http://www.tlcc.com) after registering but then if I give the user access to certain docs (via readers fields and groups) it takes quite a while (10 minutes?) for their access to be updated.
Many websites have a need to setup a user in certain groups to gain access to certain docs and then direct the user to those documents right away. Now, it takes up to 5-10 minutes for the views to refresh and show the documents. Please add in some sort of LotusScript api that we can use to give the user immediate access (or a server setting…)
Howard
Subject: Be careful as this is a fairly Expensive operation that you might not want to do all that often.
Subject: Agree, should’ve stated this. It’s bad on a busy server, but OK on a “registration only” type server.