9
如果我使用JavaScript設置cookie,如何使用Laravel 4讀取它?Laravel 4:讀取由javascript設置的Cookie
我問的原因是,該文件說:
All cookies created by the Laravel framework are encrypted and signed
with an authentication code, meaning they will be considered invalid
if they have been changed by the client.
任何想法我怎麼能做到相反?在Laravel中設置一個JavaScript可以讀取的cookie? 我試過'$ _COOKIE ['cookie']'沒有運氣 – 2014-12-04 16:18:01