I have a model that's used in a component that I'm developing.  It's
working fine, generally, however I'm noticing some weird behavior that
I can't figure out.

My component (yet another authentication component) is using the
Cookie component to save the authentication tokens on the browser.
The app generally works fine, but if I double click on a protected
link (where the cookie is checked) too fast, I get a 'Class not found'
error for the user model.  When I check the cookie before the error is
thrown, it looks fine.

The line where it barfs is:

$user = new $user_model;

where $user_model is the name of my user model.

If I clear out my cookie, then things start working again.

Would anybody have any idea why the model isn't being loaded after
clicking too fast??

TIA,
Rich

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