YII中报错CHttpCookie could not be converted to int,解决办法是使用strval()处理即可 转载于:https://blog.51cto.com/here2142/1423633