On Mon, Jun 21, 2010 at 9:33 AM, mrnnn <marijn.vandevoo...@gmail.com> wrote:
> sorry for bumping, but nobody? really?
>
> On Jun 10, 4:09 pm, mrnnn <marijn.vandevoo...@gmail.com> wrote:
>> A rather unusual question maybe, but I'd like to use cake's auth in a
>> seperate php file. I tried checking what's in the session, but that
>> one seems to be empty?
>>
>> Here's what i want to do: I have a simple file manager and when the
>> user is logged in (no matter what group, so basically i only need a
>> yes/no answer, doesn't matter who), he should be allowed to see the
>> entire file structure. if not, only a part.
>>
>> important to notice i guess: file manager and cakephp site run on the
>> same domain (and same subdomain).
>>
>> I've tried using the cookie and session components in cakephp and then
>> printing the $_SESSION (after a session_start() of course) and
>> $_COOKIE arrays, but those seemed empty except for a CAKEPHP value.

Have a look at this:

http://www.flickspin.com/en/software_development/cakephp_session_webroot

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to