I have been trying to encorporate a session_start() into one of my files.
I am using this in order to save variables from a post. The problem is, it doesn't seem to be working.
Logic is I have a <FORM> field, after the user submits, results go to a confirm page, where the values from the previous form field are now stored via session_register($value)
if the values are correct, then they then press another submit button. What should be happening is the values in the session_register are to be used in a mySQL insert into database. The problem is, the values are empty.
when I check the session_save_path() it states /var/state/php/ however when I view the contents of the session file in this directory, not all the values appear in there. Actually, the values appear to be stored in /tmp in a nsform type file.
I have been struggeling with this for hours.
And am very new to the concept of sessions.
If anyone can offer some advice I'd appreciate it. If you need to see code, I can certainly send this as well.