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
Become a patron - / doingiteasychannel
Take a look at my blog - http://yii-02.blogspot.com/
Follow me on Twitter @Uthpala_419
Sur cette page du site, vous pouvez voir la vidéo en ligne Yii2 Lesson - 49 Setting and Getting Cookies durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Uthpala Heenatigala 13 novembre 2015, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 10,689 fois et il a aimé 49 téléspectateurs. Bon visionnage!