just so that I'm clear....
if I want to create a site that has people logging on and off, user data should be kept in some sort of database.
sessions are keeping data used as long as the user is visiting the site
cookies are for saving data client side to make things easier for him in the future (doesn't have to log in again since its in his cookie)
now if I use cookies, is there any reason to use sessions?