I'm doing a school project, it's an online record store where a user can register and buy music something like cdnow... What should I use cookies or sessions?
Use sessions. Read the user authentication PHPBuilder articles for more info.
JM