Does anyone know the best way to to create a login script that sets a session varible give me a usernamem user_id and user level, and allow me to put a snippet of code on each page that I want a login required on?
I found some really advanced stuff out there, but I don't really need it to be that fancy. I still haven't really grasped sessions, so if someone can send me a link to a good tutorial, or have some advice on sessions and/or advice on them and login scripts, please share.
Thanks for the great support within this forum. Hopefully this discussing is educating for all of us.