what is better, cookies or sessions?
better for what?
What I need to do is set a log in cookie/ session to fallow a user around so that a user can read and send messages via an email system and edit profiles without having to re- login everywhere.
Exactly how sensitive of an environment are you running? If your application is going be used on computers that have multiple users it's best to use sessions.