Questions tagged [cookie]

Denotes a question related to the Browser cookie.

Filter by
Sorted by
Tagged with
1
vote
0answers
65 views

Website stuck into Infinite Loop

I got a strange problem in my multiwebsite store. When a random user do login at frontend, the page keeps continuously and user doesn't get my account page and in after few minutes it shows memory ...
2
votes
1answer
371 views

The mage/cookies module has problems with full page cache

Magento 2.0.12 I have a widget that depends on mage/cookies, so I have: define([ "jquery", 'jquery/ui', "mage/cookies" ], function($){ // Some stuff }); Everything works fine ...
0
votes
1answer
246 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 ...
2
votes
1answer
217 views

Pop up will display after removing cookies

We have custom button "Save design" in product view page , once guest user clicked on that, it will display pop up as below, but after sometime, onclick button will not display pop up box, but once ...
6
votes
0answers
1k views

Multi store with different domains, cookie store is causing problem

Please note that it's not another "how to setup multistore". I've read other questions and it seems that my problem is not described. Following are not answering my question: set default page to ...
2
votes
1answer
576 views

Why does Magento_Cookie refresh page as default behaviour?

This is very ugly behaviour that I want to change, I am wondering if there is any necessity in the action so I can decide to customise it or rewrite the whole thing. Magento/Cookie/view/frontend/web/...
8
votes
4answers
9k views

Magento 2: How to use Cookie?

How can we use cookie in magento 2 to store data.. i'm trying to store data in cookie, on vendor/magento/module-checkout/view/frontend/web/js/model/resource-url-manager.js to store selected ...
1
vote
1answer
3k views

How to enable cookies in Magento 2.x [closed]

How to Enable cookies in Magento 2.x? Where can you configure Cookies in Magento 2.0?
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 ...
14
votes
3answers
18k views

SOLVED - Magento 2 - Unable to login to admin (no error message) stuck at login screen

This is not a question but rather an answer to a problem that is pretty old but recurring. I remember struggling on this back in the days when I was setting up Magento 1.9 and it occurred again this ...
0
votes
0answers
452 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 ...
1
vote
0answers
90 views

JavaScript not able to Manipulate value and expiry date of cookie

I have to set a cookie in magento, say current_city in OPC. I have set the same via Magento in built cookie function. Mage::getModel('core/cookie')->set('current_city',$city); I wanted to modify ...
0
votes
0answers
282 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 ...
1
vote
1answer
4k views

Magento 2: Why the customer can't login on chrome browser?

Customer unable to login to his/her account on chrome browser. Chrome not allowing customers to login to his/her account while other browser allowing login of the customer to his/her account. Please ...
3
votes
0answers
96 views

Magento page does not load because cookie conflict

I have exact this problem: Maximum execution time exceeded. Clearing cookies only solution Sometimes and with some users the page does not load, and shows random errors with "Fatal error: ...
2
votes
1answer
2k views

Magento 2: Checkout Page New Address Not Saved

On Checkout page, I'm Adding " + New Address" by clicking on that. While saving "Save In Address Book" Checkbox is already checked. Still, it's not saving that address. Once I Logout & Login ...
1
vote
0answers
172 views

Request Header Or Cookie Too Large

I am getting Request Header Or Cookie Too Large error on firefox on login and checkout pages but on chrome its working fine. I know that it can be fixed by removing cookies for that particular website ...
1
vote
0answers
50 views

How can I get Magento Each Session values by using Magento frontend cookie value through Web Service?

We are developing separate home page from Magento and accessing information from Magento through Web Services and will integrate this external home page with existing Magento website. But on this ...
1
vote
0answers
187 views

Magento 2 after customer login redirect to my orders failed to set login_redirect session

Steps to produce : Login to customer click on my order link This redirects to login page again(Session not able to handle login) This happens only on FIREFOX browser. I need proper solution ...
1
vote
1answer
963 views

Magento set cookie popup

This is my popup it show first time click only How to achieve this? <a href="#downloadme" class="fancyBoxLink">Value</a> <div style="display:none"> <div id="downloadme"> ...
1
vote
4answers
1k views

Users can' t login at https store because of double frontend cookie

I have a magento version 1.9.2.4 installation with multiple store views with different urls. One new store view is now running with https in secure and unsecure base url. At this store many customers ...
1
vote
1answer
1k views

Magento 2 messages are not displayed on homepage

I am working on a Magento 2.1.2 project, theme Porto. I installed the MageMonkey extension for Mailchimp integration. I strugle with displaying the messages of successful / unsuccessful subscription ...
0
votes
1answer
908 views

Unable to login in magento admin panel in any browser

I am unable to login in magento admin panel. Magento ver. 1.9.2.4. Reason is in every minute its calling this: Error : {ajaxExpired: 1,…} ajaxExpired : 1 ajaxRedirect : "https://www....
1
vote
1answer
6k views

Set cookie path and cookie domain in Magento for multi store

I've seen a ton of posts out there regarding issue, but no resolution yet. Trying to set a cookie path and cookie domain for a multi-store Magento setup for the 2 stores I have in Magento (ver. 1.9.2....
1
vote
1answer
4k views

set and get cookie in same function

I'm trying to set a cookie and immediately get it in a function: Mage::getSingleton('core/cookie')->set('productLanded', $product_sku, 86400, '/'); $this->product_landed = Mage::getSingleton('...
1
vote
1answer
1k views

How to Use Session or Cookie in Magento 2.0

I am going to add Age verification block on Home page. for that i want to set session or cookie variable. so that i can check it through out all pages of store weather age verification session or ...
1
vote
2answers
624 views

Magento 2 Observer not called due to caching?

Intention I am trying to get an affiliate extension to work. The basic concept is that a customer calls the shop-page with a get parameter that is the id of the affiliate partner. The ID will be ...
0
votes
0answers
2k views

Setting Magento Session Cookies

In admin > configuration > General > Web > Session Cookie Management one can set the Cookie Lifetime. They don't seem to work correctly. I've been trying to fix them forever. In FireFox "Firebug I ...
9
votes
2answers
2k views

Magento 2 cookies not working when all cache is enabled

In an observer I'm setting a cookie like this: $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $cookieManager = $objectManager->get('Magento\Framework\Stdlib\...
1
vote
1answer
736 views

How to set cookie on salesQuoteSaveAfterObserver in magento2

In my custom module events.xml <event name="sales_quote_save_after"> <observer name="cedapi_set_checkout_quote_id" instance="Vender\Module\Observer\SalesQuoteSaveAfter" /> <...
0
votes
1answer
168 views

Cookie problem - Login backend

I have two Magento websites in the same domain, store.com and us.store.com. For 24 hours I can't login in the backend. Only If I use a plugin browser like anonimoX, which changes my IP the login ...
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 ...
1
vote
0answers
218 views

Admin login: invalid form key after SUPEE 7405

My customer is running Magento version 1.6.2.0. After applying the security patches including SUPEE-7405, it's no longer possible to login to the backend because we get the error "invalid form key. ...
2
votes
2answers
152 views

Magento 2 two different magento having same cart value

I have installed two magento on my local server.I added product from my first magento installation its added fine but it also display in second magento installation. Why does this happen? Any one have ...
3
votes
1answer
2k views

Session cookie timeout limit

Is there a maximum timeout that we can set for the session cookie? Can I set it up to 1 year for example?
5
votes
1answer
998 views

Multi Store Cookie Issue

We have two stores in our Magento 1.9 installation: a retail website, coolstuff.com (no www prefix) and a wholesale website, dealer.coolstuff.com. Following the launch of our website with HTTPS forced ...
6
votes
0answers
74 views

Why is admin logging me out?

I go to the admin login in Chrome after clearing all cookies and everything. First thing I check Chrome cookies. I see only one cookie. Name: adminhtml Domain: .mysite.com Path: / Created: ...
0
votes
1answer
163 views

Base URL cookie

We want to create one Magento store with 500 different URL's The catalog and the products would be the same, only the store logo and some CMS blocks would be different. The checkout would all go ...
1
vote
1answer
69 views

Logged in pricing remembered when logged out

My Magento 1.9.2.3 store has customer groups defined, as we sell to retail customers as well as trade customers. If a trade customer logs in, they will see their trade pricing on products. The ...
1
vote
1answer
3k views

Magento frontend cookie

In a list of cookies I can see "frontend", "adminhtml" and "external_no_cache" cookie name. I need to write a list of all cookies, their purpose and expiration date. Can anyone help me? What are ...
4
votes
2answers
3k views

Magento 2 set cookie on a phtml file

Can anyone please tell me how to set and get cookie on a phtml file in magento 2?? I don't want to create or use any extension for this.
4
votes
0answers
574 views

Cookie issue with Internet Explorer

I have an issue with my Magento installation (Version 1.9.2.2). It works in every browser (tested with Chrome, Safari, Firefox, and Opera) but not in Internet Explorer. In IE, Magento doesn't set any ...
1
vote
1answer
737 views

Losing Magento Session

I've been getting informed that occasionally when our receptionist is taking orders over the phone on our Magento ver. 1.9 website, her basket is randomly emptying itself. I've been unable to ...
1
vote
1answer
2k views

Session Cookie Management - Cookie Lifetime

Has anyone ever set the lifetime to 3 days / 259200? I know the standard is 86400. Would this overload cache/sessions? I'm currently not using redis or and memcache/session management. I have a ...
2
votes
1answer
3k views

Mage.Cookies.clear() not working

The JavaScript function Mage.Cookies.clear does not clear any cookie. It does not matter if the cookie was set with Mage.Cookies.set or from PHP. Cookie configuration: Cookie Lifetime: 3600 Cookie ...
0
votes
1answer
27 views

After quick research product doesn't appear and redirect me to other store language

The problem appear when I search a product from his SKU, I found it but when I tried to click on it I am redirecting to the main page with a different language code store (default is German, but after ...
4
votes
1answer
7k views

Magento customer login and admin login session/cookie issue

I know this questions asked many times but solutions were used for some people not all. I am running Magento 1.9.2.4 community version. We are facing an issue like whenever the customer tries to log ...
0
votes
1answer
71 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, ...
1
vote
1answer
3k views

Magento2: How to create and delete cookies

I've followed this question but set method mentioned there is outdated (Reference: Magento\Framework\App\PageCache\FormKey::set()). So, a cookie is created like this: public function set($value, ...
0
votes
1answer
861 views

Find what cookies are creating in browser

we have a domain www.xyz.com 1.9.0 site. we are facing some problems with cookies. is magento set 2 types of cookies, one for xyz.com and another for .xyz.com? I want to know how to check what ...