I have a form page on a public webserver that needs to send queries to a different internal server on our network, and have the results sent back to our public server. The internal server is an AS400 i5 running Zend Core php and querying a DB2 database. Making this server public is not an option.
I'm able to pass the variables to the internal server (by POST on the form), then make the query okay, I'm just stuck on passing those new variables back to the public server. When starting this, I assumed starting a session would work, but it's not. Unless I'm doing something wrong.
I know I could pass these in the URL but there is too much info and I would rather keep it hidden anyway.
What am I missing? Can someone help point me in the right direction?