Jim, Something else I would like to see in your script would be that the last login time for a user was stored in a profile field. I would love to have the login script check that field either instead of or in addition to a cookie so that members who use different computers would have their lightbulbs in synch on any computer they use.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.