The above code was lifted from an Actual Application (tm), but some of
the variable names were changed for clarity, which is why some of the
session setting doesn't match up with the session checking, but you get
the idea.  There's also some extra goodies in there on how to handle
login expirations for both regular and Ajax requests.


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to