I have made a registration/login system from a tutorial. The tutorial didn't include anything about sessions. Or cookies. That means every time a member logs in and closes the member page, he gets logged out.
I want to change that. I have a text:
If you have an account, please click here to log in. Administrators log in here.
If you don't have an account, please take time to register here. It is completely free!
in two pages. I want it to change to You are currently logged in. if a member has logged in, and has closed the member page/browser. And to show the text before if logged out. If you need any sources, please post that.
I looked at the tutorials in this site, but didn't find anything I would be able to understand good enough, to add where and how I need.
Thanks in advance
P.S. Sorry for the off-topic, but does anyone know a good tutorial on making a members-only personal messenger? I searched without luck.
Edited by Edmachine, 18 July 2007 - 06:05 AM.
