Re: Auth performing logout Without Requesting It

2009-04-24 Thread rartavia

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 and login, 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
-~--~~~~--~~--~--~---



Re: Auth performing logout Without Requesting It

2009-04-24 Thread rartavia

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



Re: Auth performing logout Without Requesting It

2009-04-24 Thread rartavia

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



Re: Auth performing logout Without Requesting It

2009-04-23 Thread Miles J

Try setting it to medium/low and see what happens.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Auth performing logout Without Requesting It

2009-04-23 Thread rartavia

Is set to high

Here's my session config

Configure::write('Session.save', 'php');
Configure::write('Session.cookie', 'CAKEPHP');
Configure::write('Session.timeout', '120');
Configure::write('Session.start', true);
Configure::write('Session.checkAgent', true);
Configure::write('Security.level', 'high');
Configure::write('Acl.classname', 'DbAcl');
Configure::write('Acl.database', 'default');
Configure::write('Security.salt', '...');

Thanks for your help
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Auth performing logout Without Requesting It

2009-04-23 Thread Miles J

Whats your session security level at?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---