Hi
I have two questions :
First:
How can i access to session component inside another component?
I try use $this->Session but it doesn't work.

Second:
I have set CAKE_ADMIN in my core.php.
Now I would have two index view for my application , one for user and
one for admin.
So I created in my controller a function index and a function
admin_index but when i try that i get an error "Cannot redeclare
index()"
How can I resolve this problem?
Many thanks
Marco


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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