On CENTOS 5.5 nxserver would not update the lastlog database. The USESSION directive was set correctly in the nxserver.conf file.
The solution was the permissions on /var/log/lastlog was set to 644 and the ownership was root:root. Once it was changed to root:utmp and 664 the lastlog was updated correctly when a user logged into the nxsession.