Use the session helper :)

Tarique

On Jan 14, 2008 3:37 PM, 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
>
> >
>



-- 
=============================================================
Cheesecake-Photoblog: http://cheesecake-photoblog.org
PHP for E-Biz: http://sanisoft.com
=============================================================

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