Well providing your are starting your session and using the same
session id, then you should be able to access CURRENT_USER.

I am not sure if this will work with database sessions.

-Erik

On May 8, 2:11 am, "bharath kumar" <[EMAIL PROTECTED]> wrote:
> Hi Sliv,
>
> In Login controller i have set the user details using this line.
> $this->Session->write('CURRENT_USER', $someone['User']);
>
> and in the php script, which is oustside the cake directory, i am trying to
> use the CURRENT_USER in the php script using $_SESSION. which i couldn
> access
>
> On Thu, May 8, 2008 at 11:23 AM, Lakshmi <[EMAIL PROTECTED]> wrote:
>
> > ---------- Forwarded message ----------
> > From: Sliv <[EMAIL PROTECTED]>
> > Date: May 7, 2008 6:08 PM
> > Subject: Re: How to access Cake Session Variables from a Stand Alone
> > PHP  script
> > To: CakePHP <[email protected]>
>
> > What variables are you trying to access that are not available through
> > $_SESSION?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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