On Wed, Jan 21, 2009 at 12:43 AM, Brian Williams <[email protected]> wrote: > not to step on toes but i'm not sure why it's such a problem storing that > data in a db... > > if you want quick access to the data but not a zillion records make a hash, > and store that hash in the db and a cookie. > > when the user logs in, read the hash and store into their session and save > it in their cookie until they log out.
That seems like a good idea, but how would you get the thread IDs from a hash? The only way I can see that working is if you hashed every combination of thread IDs (plus whatever user-specific info you previously hashed) and tested against what was stored in the cookie. Obviously, that wouldn't be very efficient. What did you have in mind? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
