On Wed, August 25, 2010 2:37 pm, Mariano C. wrote:
> Thanks.
> What about if I want to get this value inside the controller?

try
$this->here;

HTH



>
> On 25 Ago, 15:17, euromark <[email protected]> wrote:
>> wouldnt that just be $this->Session->here ?
>> or in 1.2 $session->here
>>
>> On 25 Aug., 12:47, "Mariano C." <[email protected]> wrote:
>>
>>
>>
>> > Inside my view I have:
>>
>> > debug($session);
>>
>> > this print:
>>
>> > SessionHelper Object
>> > (
>> >     [helpers] => Array
>> >         (
>> >         )
>> >     // other informations
>>
>> >     [here] => /this/is/the/path/that/i/need
>>
>> >     // other informations
>> > )
>>
>> > I need to get the value of "here" key but:
>> > $session['here']
>> > gave me an error and:
>> > $session->read('here')
>> > gave me no data.
>>
>> > What is the correct way to get the value?
>
> 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 [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
>
>


-- 
Mike Karthauser
Managing Director - Brightstorm Ltd

Email: [email protected]
Web: http://www.brightstorm.co.uk
Tel:  07939 252144 (mobile)
Fax: 0870 1320560

Address: 1 Brewery Court, North Street, Bristol, BS3 1JS

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