Troubled by $_SESSION concept~~~

Primarily, I was confused by this post appliation global variables

According to wikipedia, http protocol is a session less protocol. it’s contradictory that session less HTTP has a $_SESSION global parameter.

Than what is $_SESSION ? Where it is stored?

Is $_SESSION a cookie?

Thank you very much!!

I think $_SESSIONS is in server side and use cookie in client side to recognize the user. But …

yii want sessions to be used in this way:

$session=new CHttpSession;





I think, you should read the php manual about the sessions (and other chapters), before starting to use yii.