Yii Framework Forum: Cwebuser - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Cwebuser Rate Topic: -----

#1 User is offline   Sujoy Bhowmick 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 24
  • Joined: 27-December 12

Posted 04 January 2013 - 08:37 AM

Hi,

"CWebUser represents the persistent state for a Web application user."
can any one tell me if the above mentioned web application user is only being refereed to the logged in user or any anonymous user without loged in.
0

#2 User is offline   cbi 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 58
  • Joined: 24-August 10
  • Location:Buenos Aires, Argentina

Posted 04 January 2013 - 09:36 AM

View PostSujoy Bhowmick, on 04 January 2013 - 08:37 AM, said:

can any one tell me if the above mentioned web application user is only being refereed to the logged in user or any anonymous user without loged in.


I guess with anonymous user you refer to guest user profile. The guest profile stands for any user which haven't been authenticated yet.


cbi
0

#3 User is offline   DaveTheAve 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 30-December 12
  • Location:Rhode Island

Posted 04 January 2013 - 03:33 PM

CWebUser runs for both authenticated users and non-authenticated visitors. I hope that clarifies what you're wondering.
Thank you,
Dave
Internet Consultant
http://www.NeoeliteConsulting.com/
0

#4 User is offline   Sujoy Bhowmick 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 24
  • Joined: 27-December 12

Posted 05 January 2013 - 12:38 AM

View PostDaveTheAve, on 04 January 2013 - 03:33 PM, said:

CWebUser runs for both authenticated users and non-authenticated visitors. I hope that clarifies what you're wondering.


yes it is helpful to me.but can you please tell me why Yii::app()->user->setFlash('success','Save data successfully');
this line of code is not working for me.I did not have any loggin mechanism.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users