Page 1 of 1

sessions

Posted: Tue Sep 14, 2010 12:09 pm
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:

Re: sessions

Posted: Tue Sep 14, 2010 12:20 pm
by Gargoyle