>From tracing the sql queries when using the database to store the
session data, it seems as though on every call it deletes the current
session record from the database and then inserts a new one. If you
refreshed after that first deletion but before the second insert, you
would no longer have a session in the database.

Am I talking out of my ass or does that sound like something that
could happen?

On Nov 10, 4:13 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote:
> Why would a longer query make a slower speed when the query has
> nothing to do with the connection.
>
> On 11/10/2008, francky06l <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Are the link ajax one ?
> > This, is I believe due to the security level., set it to medium. I
> > guess when during long queries/slow connection your second query is
> > there before the first one is gone ..making an "hijacking session" ..
>
> > On Nov 10, 10:18 pm, validkeys <[EMAIL PROTECTED]>
> > wrote:
> >> Im not sure. I have had similar problems when using a database. Anyone
> >> else have the same problem / advice?
>
> >> On Nov 10, 12:36 pm, Serge Rodovnichenko <[EMAIL PROTECTED]> wrote:
>
> >> > No, I store sessions in files, in /tmp directory. Database useage may
> >> > help to resolve this problem?
>
> >> > On 10 нояб, 22:15, validkeys <[EMAIL PROTECTED]> wrote:
>
> >> > > I have had this problem before, where I click links quickly and it
> >> > > blows up my session data. Are you using the database to manage your
> >> > > sessions?
>
> >> > > On Nov 10, 10:45 am, Serge Rodovnichenko <[EMAIL PROTECTED]> wrote:
>
> >> > > > It's simple:
>
> >> > > > In your application, click on a link to one action, then click on a
> >> > > > link to the second action without waiting of results of first
> >> > > > action.
> >> > > > Session data lost.
>
> >> > > > A heavy-loaded server and complex database query, generated by first
> >> > > > action/Model or slow network connection may help you to do this :-)
>
> >> > > > I think it's not a bug, but is there a hope for correcting the
> >> > > > situation?
>
> --
> B= *•*Beautiful*•*
> E= *•*Elegant*•*
> Y= *•*Young*•*
> O= *•*Original*•*
> N= *•*Natural*•*
> C= *•*Clever*•*
> E= *•*Enthralling*•*
> (`*•.¸ (`*•.¸ ¸.•*´) ¸.•*´)
> `•.¸(*)Beyoncè`s #1 Fan(*)
> (¸.•*(¸.•*´¨¨¨¨`*•.¸ )*•.¸)
> Xavier A. Mathews
> Student/Developer/Web-Master
> GG Client Based Tech Support Specialist
> Hazel Crest Illinois
> [EMAIL PROTECTED]@[EMAIL PROTECTED]
> "Fear of a name, only increases fear of the thing itself."
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to