Saturday, March 28, 2009

Re: Sessions disappearing -- load balancing problem?

Are you using "sticky sessions" when balancing? (ask your system admin)

Which session.save value are you using (php, database, cache)?
(located on your core.php)

Saludos,

Pablo Viojo
pviojo@gmail.com
http://pviojo.net
(#260 y creciendo!)

------------------------------------------------------------
Ayudar nos hace felices!
http://needish.com - http://helperman.org


On Fri, Mar 27, 2009 at 6:20 PM, Aimee <aimee@neusolutions.com> wrote:
>
> Hi,
>
> I've written an application that collects users' answers to questions
> using sessions.  It works fine most of the time, but one of our users
> is having problems with sessions.  The sessions seems to be set
> correctly in the controller, but once the next form is submitted, the
> sessions from before don't seem to exist anymore.  It has been
> suggested that this might be caused by saving sessions based on IP,
> since we're using a load balancer.  I'm not much of a server person,
> so I'm much in the know about the effects of load balancing on my
> code.  Any thoughts or suggestions on why this might be happening or
> how to fix it?
>
> Thanks!
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: