We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [cookie]

Denotes a question related to the Browser cookie.

Filter by
Sorted by
Tagged with
1
vote
1answer
1k views

Magento custom Cookie not being set

Hi I have added the following code to the bottom of my index.php for a seperate store view in a subfolder of my magento installation. $name = 'test'; $value = 'testval'; // set cookie Mage::getModel('...
1
vote
1answer
274 views

How can I change the persistence message that shows when a customer logs out?

I am trying to change the persistence message that shows in the header when a customer logs out. (Not Mr Foo?) I've tried changing it via translation file: "Not %s?","Log In / Register" I've also ...
1
vote
2answers
1k views

Customer Login Session

How can I change the amount of time of the customer login session? As an example, If a customer is shopping for several parts from a wholesale supplier they make take longer to shop. How can I ...
2
votes
1answer
447 views

magento login not works unless variens cookie parameter are disabled on core file

I couldn't login to magento dashboard unless commenting these codes $cookieParams = array( 'lifetime' => $cookie->getLifetime(), 'path' => $cookie->getPath(), ...
3
votes
1answer
221 views

How to Set Session Cookie Based on Query-String Param in Magento

I'm building a Magento sandbox environment and need to set a session cookie based on a value in the query-string. The value in the query-string will be used to set an account ID for another service ...
2
votes
2answers
1k views

Extending session / cookie lifetime for customers (Amazon-style)

When visiting Amazon, I've noticed that I always get greeted by name: However, when I try click onto my account, it forces me to log-in again. I'm not 100% sure about the logic here, but I'm assuming ...
3
votes
1answer
1k views

Set Magento Cookie Variable Using jQuery click() event

I am in the process of trying to set a Magento cookie variable on click using jQuery but can't seem to get it too work. Would the best way to do this be to hit a controller action using ajax when the ...
1
vote
1answer
2k views

Why does Magento remove my frontend cookie after using customer/session

I'm using Nginx and HHVM, I'm also using custom php files to interact with Magento. When I run any PHP file the frontend cookie gets set properly, also the shoppingcart works fine. However, whenever ...
9
votes
2answers
12k views

When does Magento use sessions and when cookies?

I know Magento has following core functions for session and cookie handling: Mage::getSingleton('core/cookie'); Mage::getSingleton('core/session'); When does Magento set Cookies and when PHP ...
6
votes
1answer
15k views

How to bind an action after customer login success using Magento?

I'm using Magento 1.4.1.1. After logout success, customer is rooted to "logout.phtml" first and "home page" later. Is there anyway I could make Magento run couple of "php" codes after "login" ...
0
votes
1answer
3k views

Magento cart is always empty on chrome and opera

After i add some products to card and i open cart page it shows "the cart is empty". it just happens in chrome and opera; but every thing is ok in firefox. i have checked cookie management and every ...
0
votes
1answer
2k views

Multiple Domains, multiple Store Views, redirect and cookies problem

I have a website with 2 store views and different domains assigned to them through System > Web > Unsecure/Secure > Base URL (default one with en code at http://tea-and-coffee.tk/ and ...
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> &...
0
votes
1answer
2k views

Can't login to second store on subdomain

I have a Magento site I've acquired. It's been upgraded from 1.6.x to 1.9.0.1. There were a couple of issues related to the new form_key tag which were fairly easily resolved, however there's one ...
1
vote
0answers
222 views

Cart showing empty in safari only in ipad [closed]

We are using magento 1.5.1.0, In ipad - selected item not showing in cart when using safari browser. Please help us how to solve it. Thanks, Kumar
2
votes
3answers
6k views

Chrome and SSL: problem with login and cart

I have a domain with SSL and some problems ONLY with Google Chrome (v. 39.0.2171.95 m). When a user tries to login with SSL (https: //www.mydomain.com/customer/account/login/), he returns to the ...
0
votes
2answers
896 views

Can't login to Magento admin using Vagrant box

I'm trying to set up a local dev environment using Vagrant and the Vaprobash script since I've used it before in several PHP based applications but for some reason I'm not able to login to the admin ...
2
votes
1answer
539 views

Looking for the “missing link” in IE cookie/session issue

Magento 1.9.0.1 CE on LAMP Experiencing an issue with the customer login page on our website. Users of IE7 - IE11 only are experiencing a redirect loop - the page refreshes without error message of ...
2
votes
2answers
3k views

Magento set Cookie?

We need to show recently viewed product by customer based on browser and i try to below code. $cookie = Mage::getSingleton('core/cookie'); if ($cookie->get('recent_product')) { $...
3
votes
0answers
427 views

Why this complex logic for cookie domain in session start?

I was debugging why an empty value in the cookie domain still resulted in a domain value being set in the session cookie and came across this weird code in Mage_Core_Model_Session_Abstract_Varien: ...
3
votes
1answer
852 views

Moving from file session to DB session

We are moving out site from single dedicated server to AWS. AS part of the AWS implementation we will be using a load balancer across multiple web hosts (to a single DB). In order to support this ...
5
votes
2answers
2k views

Cookie Issue on Multistore Installation

I have following issue: I have a multistore installation where I have a main store (example.com) a second store for members only (sub.example.com), which has the login page as the start page on that ...
3
votes
1answer
4k views

Enable Cookies to continue

I have just installed Magento 1.8, when I login it shows me this message: Please enable cookies in your web browser to continue. I have enabled cookies. I am using Chrome. What do I need to do?
3
votes
1answer
134 views

What cookies does Magento CE store by default?

There is some little info in the manual, but what cookies does Magento CE actually store during a visit? In other words what does each cookie do?
2
votes
1answer
2k views

how to change cookies life time without from admin login

Accidently I have changed the cookies life time = 1 seconds, Now I am not able to change it to other values, Because When I login my session will destroyed in 1 second. So Any one know that how can ...
1
vote
1answer
120 views

IE9 users being logged out when viewing a product

We have a problem on a Magento 1.9.0.1 store where if you use IE9 and log into your account then try to view a product this will somehow clear your session. It doesn't happen on any other page. This ...
3
votes
1answer
10k views

Admin login problems. What are the correct settings of Session Cookie Management and Session Validation Management?

What are the correct settings for Session Cookie Management and Session Validation Management? In a single store setup In a multi store setup Session Management Cookie Path Cookie Domain Use HTTP ...
1
vote
3answers
7k views

Magento asking users to enable cookies

Magento 1.9 CE running on LAMP stack. Users land on site initially and they are getting Magento's "please enable use of cookies" page. They refresh and it is gone. I confirmed this behavior for ...
3
votes
1answer
1k views

Other customers address show on checkout - security bug in magento

We have an issue with magento checkout - A customer logged into his account and in checkout page wrong address is shown and the interesting fact is that it is some other customer's address. The same ...
0
votes
1answer
865 views

Magento Session timeout when the browser close and doesn't browse for a while

I am new to Magento and I want to destroy the session when the user doesn't browse through your site for a while (5 mins) and the user closes the browser directly In both cases the session should ...
0
votes
2answers
332 views

I can't login to the frontend of my webshop

First i want to say that i'm pretty new to Magento. Setting up a shop is going pretty well as I can say for myself. Now when i make myself a member, i get a nice email with some information and a ...
2
votes
3answers
2k views

Show used cookies Magento website

Is there any way how i can create a list of ALL cookies (incl. 3rd party cookies) which my Magento website is using? I've searched throughout Magento, searched on Google, searched the forums, but i ...
42
votes
12answers
58k views

Customer Login Doesn't Work in 1.9

I just did a fresh installation of Magento 1.9.0.1 and I am seeing some very odd behavior with the customer login form. In Chrome (version 36) the login form does not work. I am just redirected to ...
3
votes
1answer
1k views

Cookie-/ Session Problem after SSL Proxy Configuration

I recently set up my store to use an SSL proxy for secure connections. On Frontend everything works fine since I activated the configuration otion "Use SID in Shop frontend". A session variable is ...
3
votes
6answers
3k views

Magento 1.8.1 login only refreshes

Yesterday I messed something up on my Magento installation. A plugin destroyed the test environment, so I've decided to reïnstall the test environment. I got the back-up database from our working ...
2
votes
1answer
8k views

how to use cookie-free domains in magento? [closed]

I analyzed my website on Gtmetrix.com for optimization and the result was this: There are 245 components that are not cookie-free: http://mysite.com/media/css/dabf35e7cd79eb387a68eed1d5f3f925.css ...
3
votes
2answers
355 views

Forget Admin login/session on browser close?

Is there a setting in Magento CE that will cause it to forget a user is logged into the admin if the browser is closed (and force them to re-enter their username & password)? e.g. for use at a ...
0
votes
1answer
1k views

Delete Cookie in Magento on Browser Close

I had stuck issue.I had created one cookie but my client needs this cookie should be deleted when the browser is closed. I had tried many links on the google but not got solution. Please Help Me. ...
3
votes
2answers
1k views

Is it possible to override the Session Cookie Lifetime found in the sys. config.?

Is it possible to override the Session Cookie Lifetime found in the system configuration? The reason I ask is because it appears that Magento is not honoring the value I set for Cookie Lifetime no ...
4
votes
5answers
8k views

Magento cookie issue..Customer can't login

I am facing weird problem that some customer can't login to their account.When customer try to login ,it redirect to same page without any error.it happens user who visited the site before. And for ...
3
votes
3answers
8k views

Successful Logins redirects to Login Page - Magento

I have scoured the internet but cannot find an answer, and the answers I find are to having Magento locally installed (MAMP/WAMP) etc. I have installed Magento www.domain.com (1.7.0.2) and also in ...
8
votes
1answer
10k views

Erratic cookie-related login problem

this will be a long one... I've got a bad case of erratic login failure, due to wrong cookie management. First of all, I'm managing a closed store (B2B) in which customers have to login before they ...
1
vote
1answer
900 views

How to clear session on browser close?

I want to store a value in session and to remove it on browser close. How can I do this?
2
votes
1answer
2k views

ANSWERED: Show Amount to “Goal” for Free Shipping

I have an already running Magento CE 1.8.1 website running with two stores, and more to come. My client has asked me to find a way that can tell a customer how much more they need to spend before they ...
2
votes
1answer
1k views

Frontend cookie not being set until first login attempt

I'm currently migrating a site from Magento 1.7.0.2 to 1.8.1. I'm following the instructions outlined on the Magento site, so I've created a development account and ported over my theme, extensions ...
2
votes
1answer
2k views

Usage for EXTERNAL_NO_CACHE cookie?

Looking at the list of Magento cookies listed on the default "privacy-policy-cookie-restriction-mode" cms page created on install I see an entry for : EXTERNAL_NO_CACHE A flag, which indicates ...
6
votes
1answer
180 views

How to set understory session

I have use Enterprice edition I want to set the session for magento site like Gmail. The user login, the session will set. Once user click logout button the session will destory. Other ...
3
votes
1answer
2k views

Set a COOKIE in Observer and use it in Javascript

I have an Observer for customer_login event where I want to set a cookie based on informations from customer session. public function login(Varien_Event_Observer $observer) { $customerData = ...
7
votes
2answers
12k views

Double frontend cookies causing intermittent login issues

The site runs Magento CE 1.7.0.2. Customers have been reporting issues with logging in. I've been able to replicate this myself on Safari only (do not know the exact steps to replicate yet though). ...
7
votes
3answers
5k views

Cookie Restriction Mode Translation

With latest release, CE 1.8.1 cookie_restriction_notice_block went to before_body_end in layout (/app/design/frontend/base/default/layout/page.xml). But users don’t realize about that notice nor that ...