> The strange problem is that my Cake application looses its session
> (effectively logs the user out) on "pages" where a java applet is
> embeded... but only in Safari AFAIKT

Hi Martin,

I think that this is due to the fact that Safari sends a certain  
UserAgent header when requesting "regular" web content, and a  
different one when requesting the applet (or when the applet itself  
requests the other stuff). I saw this happen in other contexts too,  
for example when starting/resuming a download from the Download Window.

Cake doesn't like this because it checks the HTTP_USER_AGENT  
environment variable and invalidates the session when it changes, as  
a security precaution.

I don't think there are many options to solve this problem: you can  
either remove the user agent check from Cake's session component,  
which might not be a good thing to do, or simply wait for Apple to  
fix Safari.

Bye,

- fm


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to