sessions

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Anant
Forum Commoner
Posts: 66
Joined: Wed Jul 14, 2010 11:46 am

sessions

Post by Anant »

PHP is a pain atm..

How does the Sessions work in php.

There is a form in page a - which calls page b on submit.

in page b - i am converting all the $_POST to $_SESSION

and then page processes further and goes to page c where the data is added to database.

Now lot of field is blank in database. I can't understand what exactly is going wrong - what is the best way to create session and when to unset it ??

confusing :banghead:
Post Reply