[solved]$_POST vs $_SESSION
Posted: Sat Jun 18, 2005 2:45 pm
Hello,
Was wondering if there is a big difference between $_POST and $_SESSION besides that $_SESSION variables can only be used when a session is initialized.
I'm running into some problems because I was using pure $_SESSION; however, some of my classes modify the globals, and since classes have to be included before a $_SESSION, i have a problem.
Will I loose any advantages from switching to $_POST for most of my globals?
Thanks in advance,
Jeff
jmslavin@hotmail.com
Was wondering if there is a big difference between $_POST and $_SESSION besides that $_SESSION variables can only be used when a session is initialized.
I'm running into some problems because I was using pure $_SESSION; however, some of my classes modify the globals, and since classes have to be included before a $_SESSION, i have a problem.
Will I loose any advantages from switching to $_POST for most of my globals?
Thanks in advance,
Jeff
jmslavin@hotmail.com