Thank you, I think it is correct, I did not have any dropped session
the whole day. :>
www.generics.ws
www.genericsmed.com
On May 9, 12:50 pm, Adam Royle <[EMAIL PROTECTED]> wrote:
> Try setting your Security.level to medium. "High" regenerates the
> session id on each request, therefore it is possible when making lots
> of simultaneous requests (eg ajax) that the session id changes without
> updating the browser before the next request.
>
> I've also found when using flash to request info from cake, it will
> destroy the session because Flash sends a different userAgent on
> certain browser - set Session.checkAgent = false to prevent this from
> screwing with your app.
>
> Cheers,
> Adam
>
> On May 9, 11:50 am, robert123 <[EMAIL PROTECTED]> wrote:
>
> > hi,
>
> > I am using Cake build (1.2.0.6311 beta), it does not occur very
> > frequently, but my session will just drop off with no apparent reason.
> > Sometime the session will last for a few hours, but sometime it only
> > last for a few minutes,
> > I am sorry the problem is so general, because I am not sure where to
> > look for the problem also in the codes. Actually have been looking at
> > it on and off at this problem for the past week, but still not sure.
>
> > Below are some configure values in my core.php
>
> > Configure::write('Session.save', 'php');
> > Configure::write('Session.cookie', 'CAKEPHP');
> > Configure::write('Session.timeout', '1000');
> > Configure::write('Session.start', true);
> > Configure::write('Session.checkAgent', true);
> > Configure::write('Security.level', 'high');
>
> > I appreciate if anyone will suggest some possible reason, so maybe I
> > can know where to look for the problem, thank you. Thank you
>
> >www.generics.wswww.genericsmed.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---