Page 1 of 1

Help on POST method

Posted: Wed Jul 08, 2009 5:47 pm
by g00gle88
I'm a total newbie in PHP, and my question is does the POST method somehow destroys or clears the $_SESSION variable?

My guess is "YES", but just to make sure I will ask you guys.

Thanks

Re: Help on POST method

Posted: Wed Jul 08, 2009 5:53 pm
by Peter Anselmo
No, they are completely separate and do not affect one another.

If you're finding your session variables are disappearing, make sure you include session_start() at the very top of all of your pages.