Hello!
I have a cookie, which sets a timestamp upon the user entering my application. The purpose of the application is to upload files to my server.
The user navigation looks like this:
index.php --> admin.php --> gallery.php (as a Javascript-created window) --> upload.php
upload.php has a Java applet. This applet takes multiple files, and then passes back the references to appletupload.php.
The timestamp variable stored in the cookie is used to create a unique directory name for the uploads.
Got all that?
Okay, so here's the problem: the $timestamp shows up on all the pages listed, but when the applet passes it's data onto appletupload.php, the $timestamp is lost. It's not recognizing the cookie.
All the .php files exist in the same directory. All the files except for appletupload.php are seeing the $timestamp variable from the cookie just fine. appletupload.php doesn't see it at all.
I have no idea why. Help?