I tried lowering Security.level but still the behavior is:

I login and enter the page, upload an image, reload the page (F5),
window.onbeforeunload event is raised (as I havent saved the
"document", images should be erased), jQuery.ajax({url:"/
uploaded_images/delete_files/img01.jpg"}), AppController before filter
executes ($this->Session->read('Auth.User') appears correctly logged)
delete_files is not executed, page is reloaded. Now, repeating same
steps, this time delete_files executes correctly.
If i logout, again, first time delete_files does not execute, all
following
calls do execute correctly.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to