What happens when you debug out the value of the auth session variables? Is the 
value there?

Jeremy Burns
Class Outfit

jeremybu...@classoutfit.com
http://www.classoutfit.com

On 21 Feb 2011, at 07:34, Tapan Kumar Thapa wrote:

> Unfortunately i am not getting any error but my view shows blank in case no 
> value retrieved from session for first_name. But if i change the code to read 
> username from session it start displaying in my view.
> 
> Please suggest.
> 
> Regards
> Tapan Thapa
> 
> On Mon, Feb 21, 2011 at 12:52 PM, andy_the ultimate baker 
> <anandghaywankar...@gmail.com> wrote:
> will u please tell what error is coming out?
> 
> On Feb 21, 12:12 pm, Tapan Kumar Thapa
> <tapan.th...@hindustantimes.com> wrote:
> > Hello Community,
> >
> > I am using auth component in my code and while retrieving first_name from
> > session ($this->Session->read('Auth.User.first_name')) on my development
> > machine(windows with wamp), it is working fine.
> >
> > However if deploying the same code on QA machine (linux with apache and php
> > separately), i am not able to get the first_name from session although i
> > have noticed if i am trying to retrieve username or password from session,
> > it is working.
> >
> > Working on QA - $this->Session->read('Auth.User.username')
> > Working on QA - $this->Session->read('Auth.User.password')
> > *Not working on QA - $this->Session->read('Auth.User.first_name) or
> > $this->Session->read('Auth.User.email')*
> >
> > Please suggest.
> >
> > Regards
> > Tapan Thapa
> > India
> 
> --
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
> 
> 
> 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
> 
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
>  
>  
> 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

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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

Reply via email to