You could use $session->check() in your view to verify if the user is logged or not (check the session helper). Accessing controller method is done by requestAction in view. hth
On Jan 14, 11:07 am, Barry <[EMAIL PROTECTED]> wrote: > Hi Group > > I've set up a controller class that has functions to check/force user > sessions on pages. > On the main view I want logged in users to see more functionality than > normal non authenticated users. > I could always check the $_SESSION variables directly when created for > example the EDIT link. > It just seems to be the wrong way to do so. > Would it be possible to access these controller functions directly > from the view's code? > Maybe I'm missing something simple here... > > Cheers > Barry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
