why cookie not access in laravel constructor controller

I’m trying to set the cookie variable in the construct function, but its setting a hashed variable like below when I do Cookie::get('cookie_name'); in the construct.

eyJpdiI6ImRnRWF3TEa82Wm9cL3lRbng0OW1Wc1FBPT0iLCJ2YWx1ZSI6IlI4TkgwZGd6Mn


Leave a Reply