Friday, November 28, 2008

Re: Cake losing sessions randomly

Any news on this? I'm experiencing the same problems on a shared
server..

On 13 okt, 19:38, mehodgson <mehodg...@gmail.com> wrote:
> As I posted above it is set to Medium.
>
> On Oct 13, 11:33 am, Ketan Shah <ketan.s...@gmail.com> wrote:
>
> > whats your security level? (core.php)
>
> > On Oct 13, 11:12 pm, mehodgson <mehodg...@gmail.com> wrote:
>
> > > Just to make sure this wasn't the case I switched to database storage
> > > of sessions, but I am still having the same issue.  Sometimes it finds
> > > a the session data and sometimes it doesn't.  Seems completely random.
>
> > > On Oct 13, 10:48 am, "Samuel DeVore" <sdev...@gmail.com> wrote:
>
> > > > Is this on your server or a shared server.  I have run into some hosts
> > > > where the session store in /tmp gets walked on seemingly at random.  I
> > > > would try changing the session store to cake to put it in your app
> > > > tmp/session store. This helped me on one client site (can't remember
> > > > the host)  and I have just started doing it by default this way for
> > > > now
>
> > > > Sam D
>
> > > > On Mon, Oct 13, 2008 at 10:27 AM, mehodgson <mehodg...@gmail.com> wrote:
>
> > > > > I am stumped...I have built a cakePHP application that uses the auth
> > > > > component and I am having the strangest problem.  The site will
> > > > > occasionally just drop the session data for no apparent reason. I can
> > > > > login using the auth component, then just click the refresh button and
> > > > > let the page load.  Sometimes it pulls up the session data and
> > > > > sometimes it does not find the session. The strange part is that if I
> > > > > refresh again it will usually come up with the session data, so it
> > > > > isn't losing the session all together.
>
> > > > > Currently running 1.2 RC3 with the following settings:
> > > > > Configure::write('Session.cookie', 'AHJ');
> > > > > Configure::write('Session.timeout', '3600');
> > > > > Configure::write('Session.start', true);
> > > > > Configure::write('Session.checkAgent', true); (Tried both true and
> > > > > false settings, but same problem with either)
> > > > > Configure::write('Security.level', 'medium');
>
> > > > > Does anyone have any thoughts on what might be causing this?

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