I found a solution to the issue of not being able to use the new password immediately when the http password is changed.
In R5, all you had to do was refresh the ($Users) & ($ServerAccess) views.
In R6, you still have to refresh these two views, but to ensure that the user can login immediately, you have to send a server console command for AdminP.
The command that needs to be sent is
"Tell Adminp Process Interval"
and this is how you do it.
(Declarations)
Declare Sub OSMemFree Lib “nnotes.dll” (Byval hBuffer As Long)
Declare Function OSLockObject Lib “nnotes.dll” (Byval hBuffer As Long) As String
Declare Sub OSUnlockObject Lib “nnotes.dll” (Byval hBuffer As Long)
Declare Function NSFRemoteConsole Lib “nnotes.dll” (Byval ServerName As String, Byval ConsoleCommand As String, rethBuffer As Long) As Long
(Initialize)
Sub Initialize
Dim hBuf As Long
Dim pBuf As String
Dim result As Long
Dim updall$
Dim session As NotesSession
Dim db As NotesDatabase
Set Session = New NotesSession
Set db = Session.CurrentDatabase
updall$ = {Tell Adminp Process Interval}
result = NSFRemoteConsole(db.server,updall$, hBuf)
pBuf = OSLockObject(hBuf)
Call OSUnlockObject(hBuf)
Call OSMemFree(hBuf)
End Sub