I *think* that in 1.3+ you have to use $this->Session, but I am willing to be 
corrected. If you are on 1.2-, it probably won't make a huge difference.

Jeremy Burns
Class Outfit

[email protected]
http://www.classoutfit.com

On 12 Oct 2010, at 13:20, Marco wrote:

> @Jeremy
> 
> are you sure that exists a difference between $session and $this-
>> Session, for me they are the same object? The only difference is
> $this->Helper allows view variables and helpers to share names and not
> create collisions.
> 
> On Oct 11, 9:35 am, Jeremy Burns | Class Outfit
> <[email protected]> wrote:
>> To be precise, it's echo $this->Session->flash('auth');
>> 
>> Jeremy Burns
>> Class Outfit
>> 
>> [email protected]http://www.classoutfit.com
>> 
>> On 11 Oct 2010, at 13:31, Marco wrote:
>> 
>> 
>> 
>>> I think you need to write: echo $session->flash('auth');
>> 
>>> On Oct 11, 2:03 am, Jeremy Burns | Class Outfit
>>> <[email protected]> wrote:
>>>> One small suggestion. Are you using 1.3? If so, refer to $this->Session 
>>>> rather than $session. At least you might get a message that could help 
>>>> track down the problem.
>> 
>>>> Jeremy Burns
>>>> Class Outfit
>> 
>>>> [email protected]http://www.classoutfit.com
>> 
>>>> On 11 Oct 2010, at 01:18, Farhanx wrote:
>> 
>>>>> one correction i have made it here
>> 
>>>>> $this->Auth->fields = array('username' => 'k_userid', 'password' =>
>>>>> 'k_passw');
>> 
>>>>> but still same thing happening
>> 
>>>>> i tried to dump the data information inside login but it came as NULL.
>>>>> Does it mean my form is not even posting data information??
>> 
>>>>> function login()
>>>>> {
>>>>>    // No form processing needed, Auth does it automatically
>>>>>     var_dump($this->data);
>>>>> }
>> 
>>>>> Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp 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 
>>>>> athttp://groups.google.com/group/cake-php?hl=en
>> 
>>> Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 
>>> athttp://groups.google.com/group/cake-php?hl=en
> 
> 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

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