Help on POST method

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
g00gle88
Forum Newbie
Posts: 1
Joined: Wed Jul 08, 2009 5:30 pm

Help on POST method

Post 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
User avatar
Peter Anselmo
Forum Commoner
Posts: 58
Joined: Wed Feb 27, 2008 7:22 pm

Re: Help on POST method

Post 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.
Post Reply