Hi guys,

Quick question.  Where is Configure::write('Session.checkAgent',
false);  supposed to go?  In config/core.php or in the controller
action?

Thanks.

On Feb 4, 3:48 pm, skoggins <[EMAIL PROTECTED]> wrote:
> Ok. Thanks!
>
> On Feb 4, 2:20 pm, "Troy Gilbert" <[EMAIL PROTECTED]> wrote:
>
> > Yeah, that's definitely the problem... I ran across someone else
> > discussing it recently as well. When Flash does a POST it uses an
> > agent string of "Flash Player" or similar instead of the browser's
> > user-agent (no idea why).
>
> > Only way to work around it is to change Cake so that it doesn't
> > consider user-agent when checking sessions. So, you've got to upgrade
> > or find the part of the session source code that checks the agent and
> > comment that out (no idea, I'm using 1.2beta).
>
> > Troy.
>
> > On Feb 4, 2008 3:53 PM, skoggins <[EMAIL PROTECTED]> wrote:
>
> > > I found out some more info about the problem.  It only logs me out
> > > when I do a "POST" from Flash.  "Get" works fine.  I haven't been able
> > > to upgrade to 1.1.19 yet so I can't try:
> > > Configure::write('Session.checkAgent', false);
>
> > > Troy,  my flash player is version 8,0,22,0 and I am running XP.
>
> > > Does this still sound like the same problem?  Is there a fix without
> > > having to upgrade?
>
> > > Thanks.
>
> > > On Jan 30, 3:15 pm, "Troy Gilbert" <[EMAIL PROTECTED]> wrote:
> > > > > Configure::write('Session.checkAgent', false);
>
> > > > Yes, that's most likely it. While the "agent" should be the same when
> > > > the Flash Player speaks to the web server (because it's using the web
> > > > browser's network stack), I've seen some configurations report it
> > > > slightly differently.
>
> > > > Curious, what OS/browser are you using the Flash Player on (and what
> > > > version of the Player)?
>
> > > > Troy.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to