Quantcast
Channel: Cookie not getting set in laravel - Stack Overflow
Browsing index pages (2 articles)

Cookie not getting set in laravel

Having a tough time with checking if a cookie exists and then create/update the same. This is to check if user has selected a currency preference on the site and if yes, save that to a cookie and...

View Article


Answer by mishka for Cookie not getting set in laravel

SOLVEDHere is the new controller method and it works like a charm. Earlier the cookie was not attached to response.public function order(Request $request, $currency = null){ $currency =...

View Article

Browsing index pages (2 articles)


Latest Images