A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [cookie]

Denotes a question related to the Browser cookie.

94 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
2k views

Cookies not working on IE11 on windows 10

Im testing our site on BrowserStack and it works in all browsers but Internet Explorer 11 on Windows 10. I can't add products to the cart and Magento is is saying I must enable cookies in the browser ...
1
vote
0answers
918 views

“SHOPPING CART IS EMPTY” after login in with the user ID and password

I upgraded my Cloud hosting account (doubled the processor and memory) but now - I am getting the following problem: When a customer goes through the order process, after they log in - a page appears ...
1
vote
0answers
2k views

Cookie/session problems on login frontend and admin

I have an issue with login in admin and frontend for accounts. This started in Safari only. Not being a developer I'm not sure how to look to see what the cookie is trying to do, as I don't ever use ...
1
vote
2answers
192 views

Login issues with 2 shops

I've got 2 shops: shop.example.com dev.shop.example.com (dev version) If I login on first shop I can't logon on the 2nd anymore... It's a cookie problem. mysql> select * from core_config_data ...
0
votes
0answers
12 views

Cookie Management

Looking at adding functionality to the Cookie consent, instead of just accepting them I would like to add a new button which takes you to the a new page where you can select which cookies you would ...
0
votes
0answers
10 views

Cookie notice (Cookie Restriction Mode) Production Mode

In Magento 2.3.2 in producion mode don't showing coockie notice. In developer mode everything is ok.
0
votes
2answers
57 views

Why I'm seen “Invalid Form Key. Please refresh the page” in the frontend?

Sometimes I'm receiving this message below during the customer login after being changed the cookie domain through the admin panel. Do you know why and when this message shows up? Invalid Form Key....
0
votes
0answers
12 views

Magento 2.3.1 - Cookie lifetime changed to 29 days - Causing random and few timeout for customers - Session Memcache Mode

We have changed the cookie lifetime in Magento 2.3.1 to 29 days and also change PHP configs (session.gc_maxlifetime) to the exact same period. We are using in Magento session saved in memcache. ...
0
votes
0answers
12 views

Cookie showing clear text user name and password

Magento 2 Browser Cookie showing clear text user name and password. how can i remove or hide. please suggest me.
0
votes
1answer
26 views

Account get log out after editing account information

I have a problem with Magento 1.9.3. When I log in as a customer and I make changes to my account information, such as name, last name, etc, and I click save I get logged out. Sometimes everything ...
0
votes
1answer
27 views

I have Problems when uploaded the image on my product in backend magento 2.3.2

today when try to upload the image on my product, magento show me this error firts time magento show me this error becauses, before i edited all my products, and now magento show me this.
0
votes
0answers
32 views

Some old customers can't log in with some browsers to customer account of magento 1.9.4

We have strange problem in our magento 1.9.4 web-site. Some customers cant log in to their customer account but most can. Seems that in some cases clearing browser cache helped but some customers said ...
0
votes
0answers
17 views

Magento 2 getCookie() returns wrong values in observer

I have created an observer that saves cookie data in the sales_order table on the sales_order_save_before event. I have tested that saving to the database in the custom fields works fine but I'm ...
0
votes
0answers
26 views

Not able to set cookie in observer

I am trying to set a cookie on the observer "catalog_controller_category_init_after" but it does not create the cookie but when I do exit after set cookie it will create cookie after I remove exit ...
0
votes
0answers
36 views

Magento 2: Not getting set cookie value in RegisterTrackingObserver

I am trying to catch referrer from url : https://www.mycompany.com/?referrer_id=5 and save it to cookie so that if user sign up, I can save this cookie value (5 in this case) as his referrer. My ...
0
votes
1answer
167 views

Set cookie in Observer Not working when full page Cache is enabled

I have to set category id in cookie when customer go to Category page and update cookie with category id when visit again using seperate module. I have created Observer and set cookie there but not ...
0
votes
0answers
92 views

when i select custom shiping method my other shipping methods not working in magento 2

i have two shipping methods 1)Custom shipping 2)Free shipping when i select custom shipping it works fine when i choose free shipping showing error on checkout undefined index : ...
0
votes
0answers
144 views

set-cookie response header on every request causing varnish miss

I've deployed a couple of Magento installs (2.3) on dedicated servers, with Varnish. Out of the box, everything seems to be ok, but it seems once we developers onto the installations to add themes, ...
0
votes
1answer
59 views

Magento 1.9 Save recently viewed products in cookie

I need to save the recently viewed products in a cookie. The way that if there's no recently viewed products in session it reads it from the cookie. But I can't find where to find this exactly. I'm ...
0
votes
0answers
100 views

Unable to delete the cookie with cookieName = mage-cache-sessid Exception #0

in a Magento Multi store getting error suddenly which is 1 exception(s): Exception #0 (Magento\Framework\Stdlib\Cookie\FailureToSendException): Unable to delete the cookie with cookieName = mage-...
0
votes
1answer
90 views

“Invalid Form Key. Please refresh the page” on Admin login page. I set the wrong cookie domain in the Admin panel. How to change that in the database?

Magento 1.9.4 I am setting up a new Magento 1.9.4 store but I am setting that up for an existing live store which is currently running Magento 1.9.1. I made the mistake of entering the other domain ...
0
votes
0answers
158 views

Delete custom cookie in logout observer not working

I have an observer which is triggered properly on customer logout. The observer's execute method looks like this: public function execute(\Magento\Framework\Event\Observer $observer) { $this-&...
0
votes
0answers
155 views

Magento 2 store switcher - store cookie not changing because of full page cache

I have a Magento 2 site with a basic store switcher that lets the user switch between 2 stores using the URL method (e.g __store=default). When I have FPC enabled, the cookie that sets the current ...
0
votes
2answers
728 views

Guest Wishlist in Magento 2

First of all, this is not a duplicate of some other question on Magento SE. I am working to build a custom requirement of guest wishlists. I have searched for some help on the Internet and also dug ...
0
votes
1answer
863 views

Magento 2 How to get Cookie value in Block

I didn't get the Cookie Value in any block or phtml file. This is the code: Extra.php (Block File) <?php namespace Websource\Quotation\Block; class Extra extends BaseBlock { const COOKIE_NAME ...
0
votes
1answer
181 views

Seeing duplicate cookie response headers

When looking at the request headers for my Magento 1 site I can see it has 2 cookie request headers. Set-Cookie:frontend=3dt1aedashghghg1vr9ua0tghms7; expires=Fri, 20-Oct-2017 07:52:20 GMT; Max-Age=...
0
votes
1answer
161 views

M2 - Forget selected shipping method

I'm working on the Checkout page and I noticed that, as a logged-in customer, Magento 2 will remember the Shipping Method you selected the last time you placed an order (for example: "Flat Rate"). ...
0
votes
2answers
311 views

Newsletter Popup Submitting But Not Closing

It was working when I first installed it. Now I'm finally ready to try to use it it's not completely working. It Submits the form and it registers in magento backend in the newsletter subscribers but ...
0
votes
0answers
323 views

Secure session cookie frontend

How do I enable the frontend secure session cookie? Is there a setting to enable this?
0
votes
1answer
810 views

Subdomain Cookie

I have a problem with my subdomain in Magento 2.1.6. The user session is not kept between websites. My websites are like this: sub1.market.com sub2.market.com www.market.com I set the cookie ...
0
votes
1answer
260 views

Magento In Subdirectory, Cookies being cleared

I've got Magento installed in the sub-directory /shop/ and whenever I go to the root directory my cookies get cleared and the basket is empty. I believe this is because I've got the Cookie Path set ...
0
votes
0answers
1k views

Magento 2 session id cookie - where to find it?

I have custom php script located inside pub/. It doesn't use Magento objects to limit spent resources because it is called at each page load with ajax call. Inside that script I need to check if data ...
0
votes
0answers
461 views

Cookie issue on customer login magento - Chrome

HI I am facing a weird issue only on Opera and Chrome. I cannot login with a customer account. This is my configuration: I tried to change the domain like: www.myurl.de myurl.de leave it empty ...
0
votes
0answers
290 views

How to create jQuery cookie in cart and show in checkout page on Magento 2?

I Try to set a Jquery cookie in the cart page with a custom product attibute, and i need to show this attribute on the checkout page. But i can't find anything how to set and use a cookie. The only ...
0
votes
1answer
173 views

Magento store and display ajax cookie in front end

when user comes first time in a site it will ask for category subcategory etc..after that i store all value into session then if user come to home page it will show it's working fine for all except ...
0
votes
1answer
72 views

How to keep custom front end cookie from being deleted

I'd like to capture additional customer information while they are checking out as a guest and store the data in a cookie. The problem I am experiencing is that if the user leaves the checkout page, ...
0
votes
1answer
53 views

Cookie can NOT be set anymore and site unavailable

I can't access the frontend of my site http://magento.p292682.webspaceconfig.de/ anymore. However, I was able to access the site from a machine that had a cookie saved from that site (10 hours earlier)...
0
votes
1answer
41 views

Fatal error message still shown after fix on customer browsers

I have fixed the fatal error:Allowed memory size exceeded by increasing my memory limit in my php.ini to 125M. But for some users they're still seeing the message, months after the fix. I though the ...
0
votes
1answer
81 views

Cookie Problem - Magento does not remember the user

there are tons of articles about this subject, but it seems that none of them work for me. I have two magento installations on my server: domain.com domain.com/test On both installations I have the ...
0
votes
1answer
614 views

How to check if visitor has visited before?

I'm developing a referral module that allows users to join a referral program. Only visitors who come from a referral link AND have not visited the site before will be counted as referred user. Is ...
0
votes
1answer
45 views

How to see cookies name in magento websites

I found this link, Show used cookies Magento website how to see the cookies we use
0
votes
1answer
62 views

Caching the restricted cookie block globally (instead of store view): how to solve

We are trying to move the restricted cookie store notice to the header block in page/html/header.phtml just above <div class="header-container">. This block should be storeview specific. ...
0
votes
1answer
49 views

Changed cooke domain cant login

Hi there I changed cookie domain, which ovs typed in wrong. One article told me to remove it from PHPmyadmin but sitll cant login, I removed cookie sessions and everything
0
votes
1answer
3k views

Session and cookies are not removing in Magento

I am trying to set the cookie on user login basis and want to empty on logout. Login working perfect but logout didn't work. For that purpose I used this XML code : <customer_logout> &...