Pretty sure it's just:

  $_SESSION['varname'];

>From what I can tell from the cake source it doesn't salt variables or
anything, so it looks like you can just access it directly.

 $this->Session->write('name','brian');

and

 echo $_SESSION['name']; //should be brian

On Jan 28, 9:36 am, Paolo <[EMAIL PROTECTED]> wrote:
> Hi!
>
> How can I access cake variables from an external php file?
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
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