Yii2 Lesson - 49 Setting and Getting Cookies

فامیل
فامیل
2.4 هزار بار بازدید - 9 سال پیش - Should have explained it better
Should have explained it better getRequest() contains the request from the browser and it will have the cookies in it that is why we use getRequest when we check if a cookie exist. getResponse() is used when we want to set a cookie
9 سال پیش در تاریخ 1394/09/12 منتشر شده است.
2,431 بـار بازدید شده
... بیشتر