Hi everyone,

Has anyone had any success in embedding Java applets in their Cake
pages while still successfully holding on to a session?

The reason is I'm using the JClientUpload applet (so people can upload
files simply by dragging files onto the webpage). I've done some
research and this has already cropped up before (
http://groups.google.com/group/cake-php/browse_thread/thread/62248f553b32eab8/
), however it seemed like there wasn't a definite solution. And in
that case it was just Safari that was the problem, however in this
case it's affecting both Firefox and Explorer

What's basically happening, is the applet is requesting for some
resource files (images, settings) from the server, and for those
requests, the UserAgent will change....  and Cake will (rightly so)
assume it's a hijack attempt and will invalidate the session.

Has anyone come across this before?

The solutions I can come up with is... either (1) disable the Agent
checking in session.php as was hinted in the other thread. but that's
ugly.

or (2) serve the applet directly, from outside the scope of cake


thanks in advance for any input

dave


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to