WhosOnCFC 1.1.1 on RIAForge (and a few other notes)
Well, first, let me say I hope that if you celebrate Thanksgiving, I hope you had a happy and safe holiday. I don't think my family is used to dealing with two year-olds so mine was interesting to say the least.
Over the holidays it looks like Joe Danziger was playing with my last release of WhosOnCFC and he found an error I cannot believe I let slip by. The UserID field was not getting updated once it was set in WhosOnPageTracker(). This means that the value was initially set to Guest, if the user logged in later in the session, the UserID was never getting updated and would still show Guest instead of the actual username. So my thanks go out to Joe for finding it.
Also, now WhosOnPageTracker() returns a boolean value which indicates whether a user was already being tracked or not. If the user is already being tracked the function will return true, otherwise it will return false if a user is not being tracked. This comes in handy in secured applications when you want a user to be redirected to a login screen, etc. when they first log on.



There are no comments for this entry.
[Add Comment]