Instant login for new web users

Age old issue, how to get new user-created account forms on web authenticated right away, so users don’t have to wait 5 or 10 minutes before proceeding.

Server: Domino 8.5.1 FP2

I’m reading conflicting advice:

  • via registration agent, issue a send console command of “show nlcache reset”

  • add NLCACHE_VERSION=4 to notes.ini

  • do both

  • do a computewithform when the user account doc is being saved

I’m trying all the above and, as you can guess, otherwise I wouldn’t be posting, I’m not getting anywhere. A reasonable wait still seems to be required.

Anyone found anything that works for them?

Again, server is Domino 8.5.1 FP2

Subject: Of your suggested ways…

  • via registration agent, issue a send console command of “show nlcache reset” this is what we do, seems to help but not immediate

  • add NLCACHE_VERSION=4 to notes.ini have not tried this one

  • do both

  • do a computewithform when the user account doc is being saved this won’t do a thing…

Howard

Subject: agreed re instant logins

  • via registration agent, issue a send console command of "show nlcache reset" [this is what we do, seems to help but not immediate]

Agreed. Seems to speed things up a bit, but not the immediate that one would infer from reading others making that suggestion.

  • do a computewithform when the user account doc is being saved [ this won’t do a thing…
    ]

Agreed. It ain’t doing a thing. Come to think of it, nothing is.

Don’t most other web systems that people develop for allow instant login for new accounts, or is it just ours in Domino that doesn’t?

Subject: Our solution

I know it has been a while, but this might help for other people doing searches. I have found that simply refreshing the $Users view in your nab allows instant logins for web registered users. It worked with 6.5 and also works with 8.5. That said, we have a custom nab, so your results might vary.

I have this little agent in my nab that gets called from the user registration system.

Dim session As New NotesSession

Dim db As NotesDatabase

Set db = session.CurrentDatabase

Dim view As NotesView

Set view = db.GetView(“($Users)”)

Call view.Refresh