PHP Session Help
Posted: Thu Jul 27, 2006 7:05 am
Hello,
I am new to the whole PHP coding scene and am coding a gaming website for a team that I own. I am running into some troubles with the $_SESSION command. If you are logged in, you can view your profile and what not. The trouble comes in when you are able to edit other peoples profiles and there are no administration levels set yet. It seems that I need to save the session for a short amound of time ( preferrably until the user logs out ) but I have no idea where to look to find a simple, easy to learn tutorial on how to do so, and just call upon the SESSION name when needed. If someone could write a quick code with an explanation, I would be very appreciative or even to just post a link to an easy to read and understand tutorial.
Thanks,
- Jake
I am new to the whole PHP coding scene and am coding a gaming website for a team that I own. I am running into some troubles with the $_SESSION command. If you are logged in, you can view your profile and what not. The trouble comes in when you are able to edit other peoples profiles and there are no administration levels set yet. It seems that I need to save the session for a short amound of time ( preferrably until the user logs out ) but I have no idea where to look to find a simple, easy to learn tutorial on how to do so, and just call upon the SESSION name when needed. If someone could write a quick code with an explanation, I would be very appreciative or even to just post a link to an easy to read and understand tutorial.
Thanks,
- Jake