Excellent, well thanks for your help, I'll try it that way then.
Obviously when they log in a record would be created, they'd be given a unique id that links to their account, a field to log where they are in the site/forum when they were last active but what's the best way to handle their session from page to page and deleting their session when they've become inactive for a certain amount of time if they don't manually log out?
It looks like the forum software you created uses a mix of PHP sessions and MySQL - is that right?