Hey guys, I've got a bit of a conundrum.
I need to transfer arrays of information back and forth between pages. I've used sessions in the past to be the container, but my client has globals turned off.
I figured I could just use $HTTP_SESSION_VARS rather than the $_SESSION shortcut, but I read on php.net that session_register($var_name) doesn't work if globals are turned off. I don't quite know what to make of this... it doesn't seem like they'd have anything to do with each other. But you guys will know better than I.
I then moved to cookies because that seemed to work, but I didn't test it on arrays of information which apparently don't work. 🙁 I'm dying to figure out what is up and how I can best solve this issue.
Any thoughts?
Btw, they're also using an ancient version of PHP -- 4.0.1. Not sure if that makes a difference, but I've noticed some of the functions I normally use don't work and I have to kludge it somehow.