I remember reading somewhere that PHP4 has new features which support logon sessions of the visitor. I'm currently doing everthing with a mySQL database (storing the sessions and its ID) but I suppose this isn't a very elegant way to do it, right?

Where are the tutorials and codes to teach me how I can use this session stuff. Do I have to use cookies? Or maybe you have some code ready for me

thx in advance