On Mon, May 4, 2009 at 10:42 PM, henry <[email protected]> wrote:
>
> 2. display index page if username and password is right. In index
> page, save username and usertype into session.
> 3. check whether session(username) is empty when redirect any other
> page.

Can you post some code for these 2 steps? Are you writing the session
values in the controller or the view? How are you checking the
session?

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

Reply via email to