Support the ongoing development of →
posted 7 years ago
Last updated 2 years ago.

I think there is a problem with path which you are setting/default set while cookie is created. And this created cookie only be able display for same page only. So check and try this code

$.cookie('cookieName', 'Value', { path: '/' });

This should fix your cookie path problem. If still facing same, place code that you are using to create cookie.


Sign in to participate in this thread!


Your banner here too?

aghict aghict Joined 1 Apr 2016


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.