Okay, so I have a form that send the account information of the user to "sucess.php" but say I have another file called 'trade.php' and i want to use the same users information from sucess.php, how do I send over the information without making them log in again?
Like you log in, it says you've logged in, then you go to another page, but you're still keeping track of the user? Do you understand?
Results 1 to 6 of 6
Thread: Another php question
- 16 Jun. 2010 07:19pm #1
Another php question
- 17 Jun. 2010 03:22am #2
Use cookies?
- 17 Jun. 2010 10:46pm #3
- 18 Jun. 2010 12:02am #4
I believe sessions store cookies in the user's browser, so yeah. Not sure about this, but it sounds that way.
- 18 Jun. 2010 02:28am #5
Yea, use sessions. Thats how i do it and its how arti does it also. Its the way to go.
You could use cookies but those are easily editable. So they might be able to just switch accounts really fast if they wanted to. (Get into other peoples accounts) Its harder if your use sessions.
- 19 Jun. 2010 02:37am #6