PH(p)EW!! Info overload!! Can you please explain a $_SESSION to me please?
I'm trying my hardest to understand sessions here. If you could see what my understanding of them is, then tell me where I'm going wrong, it would be a great help.
Here's how I understand an example of a session:
User fills out a form that inserts to a database (insert.php).
(In the background, a session starts that holds (e.g. $username) variable value)
DOES THIS FORM PAGE POST IT IN A session.php PAGE?
On the rest of the pages, do you just use the variable to find records on a database and then display them from there?
There are a ton of tutorials out there that tell you how to start a session, but I don't understand how it fits in with the rest of the script.
Any clarification would be great.
Thanks for your time,
Andy.
-
kdm5157 -
[ 1 ] Thanks - 1 reply
{{ DiscussionBoard.errors[5812888].message }}-
Brandon Tanner -
[ 2 ] Thanks
Signature{{ DiscussionBoard.errors[5812932].message }} -
-
-
newbim -
Thanks
SignatureIf what I said helps, let me know, throw me a 'thanks'.{{ DiscussionBoard.errors[5812942].message }} -