Questions tagged [cookie]

Denotes a question related to the Browser cookie.

Filter by
Sorted by
Tagged with
4
votes
1answer
3k views

Magento frontend login problem

I’m unable to login in my Magento mobile store. I have multiple website Magento store. My main website URL is abc.com and for mobile it is m.abc.com. Perfectly works. I am using different theme for ...
2
votes
2answers
393 views

(NOT USERNAME?) in the toplinks section, cookie issue?

Sometimes I will see in the top header (NOT MYUSERNAME?) and items that I’ve added in the past in my cart, even know I’m not logged in anymore. This is extremely annoying and I haven’t seen a fix for ...
0
votes
1answer
2k views

User Information using cookies/session in magento [closed]

I am working on a Magento extension. In this extension I would like that user can add products from front side. Those products will be shown on his account when is logged in or not. If the user is not ...
8
votes
7answers
19k views

Magento 1.7.0.2 cannot login to admin locally

I installed locally magento 1.7.0.2 BUT i cannot login to admin panel! WHAT TO DO?! I try absolutely everything solution in WEB! I tried these suggested solutions Clear the contents of the ...
0
votes
1answer
2k views

Magento Cookie Value Not Set

I'm trying to conditionally set a cookie IF a certain query string parameter exists. My Class is an observer. The config.xml code: <frontend> <events> <...
1
vote
2answers
6k views

Magento Set New Cookie Value

This is driving me nuts! I'm trying to set a new cookie value: protected function setCookie($cookieName = null, $cookieVal = null) { $model = Mage::getModel('core/cookie'); $cookieVal = Mage::...
0
votes
1answer
747 views

Session gets clear in category page only in Magento

I have one problem in Magento Live server uploaded site. The problem is related to session or cookies. When I add product to cart or login, then visit category page, the session gets clear and i get ...
1
vote
4answers
6k views

Magento Connect Manager login loop

When trying to install new extensions through Magento Connect Manager, the page shows a login prompt. Upon logging in the page will just reload without installing or doing anything. The same behavior ...
10
votes
2answers
2k views

Can't Login to Admin after Installing Extension

Apologies in advance for the thin details on this one. I sell a Magento extension. With the latest release, I've started getting an odd bug report from a few users. Specifically, after installing ...
8
votes
4answers
9k views

Sharing Sessions Between Stores with Different Domains

I have three websites on a Magento installation, each has its own domain. Now due to web-browser security you cannot access cookies from another domain, nor sessions. Somehow I need to be able to ...
0
votes
1answer
989 views

Magento Cookie Issue When Logging Into Customer Account

I have a server setup locally with Vagrant which is running nginx + php5-fpm + mysql + varnish. I've disabled varnish for now just to rule that out. I've been having issues when trying to login into ...
1
vote
1answer
379 views

Magento Architecture - using helper to handle all data & variables

Is it considered good/bad architecture to set up a helper and let this handle all the constants, variables and data? I am currently writing a fairly simple extension to do with member/non-member ...
7
votes
3answers
4k views

Magento cookie bug with WebKit based browsers

There is a reasonably common & well documented cookie-related bug/issue with Magento and Chrome (looking at the others' issues - possibly WebKit and IE at times). Whether this is due to a common ...
6
votes
2answers
3k views

How to avoid redirection to “enable-cookies” page during controller unit test?

I'm doing a very simple controller test using Ecomdev_PHPUnit: class Foo_BarWishlist_Test_Controller_IndexController extends EcomDev_PHPUnit_Test_Case_Controller { /** * @test * @...
3
votes
2answers
1k views

EU cookie law solutions, opinions & experiences

The EU cookie law requires that many Magento websites will need an update to avoid fines. So far I have only seen extensions that have an accept-button and occasionally a deny-button, which leads the ...
11
votes
2answers
835 views

What's the last event dispatched before content is sent to the browser?

I need to set or update a cookie, but I want to ensure that all (or as much as possible) of the request processing occurs before my cookie generation code runs. i.e. if the user logs in, I want to ...
11
votes
1answer
1k views

Access Magento session from external site

How do you log in an existing customer/user from external application or bypass his session after logging into Magento to other application?