CakePHP + Apache Load Balancer

2011-06-24 Thread Felipe Carballo
Hello guys! I'm having trouble to setting up a CakePHP app on a balanced environment: sessions seems to be lost between requests. I'm already using database to save sessions. Below is my balancer config: VirtualHost 10.0.0.100:80 DocumentRoot /var/www/html DirectoryIndex index.htm

Re: CakePHP + Apache Load Balancer

2011-06-24 Thread Felipe Carballo
for such use-cases and, I can attest that it works perfectly with a cakephp install as I am using it now to load balance 15 web nodes and 3 databases. On Jun 24, 2011, at 7:26 AM, Felipe Carballo wrote: Hello guys! I'm having trouble to setting up a CakePHP app on a balanced environment

Re: CakePHP + Apache Load Balancer

2011-06-24 Thread Felipe Carballo
Well, i had to change the Security.level to low and all is working fine. []'s On 24 jun, 14:06, Felipe Carballo felipecarball...@gmail.com wrote: John, i verified that the HTTP_X_FORWARDED_FOR is being passed correctly. We chose the Apache Load Balancer for this project because we already

Validate from the controller

2011-02-14 Thread Felipe Carballo
$this-ModelName-saveAll(). Best Regards, Felipe Carballo -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send

Re: Validate from the controller

2011-02-14 Thread Felipe Carballo
Miles J, it's all i want to know. If validates() supports only one array dimension, i can't validate like i did. =/ Thank you folks. On Feb 14, 4:19 pm, Miles J mileswjohn...@gmail.com wrote: I believe you have to use saveAll() in this instance, validates() only supports 1 array dimension.

Action, called by an Ajax request, running twice.

2010-05-22 Thread Felipe Carballo
Hello guys! I'm having a problem using jQuery UI and Ajax Helper, with Prototype. My form is opened in a dialog box using jQuery UI. When I send the form, my action is executed twice. If I remove the library jQuery UI, the action is performed correctly (once). Does anyone know how I can fix this