Subdomain CookieCan't login to second store on subdomainLogin Does Not Work Because of Subdomain CookieDev/Staging/Live Cookie Domain For Non-www SitesHow can I set an explicit cookie domain and still loginCookie issue with Internet ExplorerMulti Store Cookie IssueUnable to login in magento admin panel in any browserUsers can' t login at https store because of double frontend cookieMagento 2 Cookie for specific domain without extra dotset-cookie response header on every request causing varnish miss
What does a black-and-white Puerto Rican flag signify?
Can I pay with HKD in Macau or Shenzhen?
Is an easily guessed plot twist a good plot twist?
My current job follows "worst practices". How can I talk about my experience in an interview without giving off red flags?
"It is what it is" in French
Why do people say "I am broke" instead of "I am broken"?
Dedicated to our #1 Fan
Do I care if the housing market has gone up or down, if I'm moving from one house to another?
Where is this photo of a group of hikers taken? Is it really in the Ural?
Can a creature sustain itself by eating its own severed body parts?
5V/12V load balance of 3.5'' HDD?
Can someone explain the English 'W' sound?
Does Impedance Matching Imply any Practical RF Transmitter Must Waste >=50% of Energy?
How often should alkaline batteries be checked when they are in a device?
Is it OK to accept a job opportunity while planning on not taking it?
Is the apartment I want to rent a scam?
How could Barty Crouch Jr. have run out of Polyjuice Potion at the end of the Goblet of Fire movie?
Are there any English words pronounced with sounds/syllables that aren't part of the spelling?
Adding gears to my grandson's 12" bike
What kind of anatomy does a centaur have?
What gave NASA the confidence for a translunar injection in Apollo 8?
I have a domain, static IP address and many devices I'd like to access outside my house. How do I route them?
Character Arcs - What if the character doesn't overcome the big lie, flaws or wounds?
Why is DC so, so, so Democratic?
Subdomain Cookie
Can't login to second store on subdomainLogin Does Not Work Because of Subdomain CookieDev/Staging/Live Cookie Domain For Non-www SitesHow can I set an explicit cookie domain and still loginCookie issue with Internet ExplorerMulti Store Cookie IssueUnable to login in magento admin panel in any browserUsers can' t login at https store because of double frontend cookieMagento 2 Cookie for specific domain without extra dotset-cookie response header on every request causing varnish miss
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
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 subdomain like this: .market.com
But the session is not kept, I tried to log in www.market.com and when I go to sub1.market.com I am not connected.
I already cleared the cache, flushed the cache, and reindexed. I also cleared the browser cookies. I tried market.com
as cookie and /
as cookie path and nothing worked.
I need to do this it's a major task, but i'm out of idea. If someone can helpme!
- Magento 2.1.6
- Dev on localhost using wamp
- Php 7
- change localhost with custom link (www.market.com)
In a previous install it was working, but with this install it don't want to work.
EDIT : I already searched, but every problems is about the multi websites without using www.
so cookie domain is not kept. In my case I set a www.
domain and try every cookie domain.
EDIT 2 22.06.2017
My cookie pathis empty and my cookie domain is market-eurecia.com
But when I go to the cookie with chrome, the path is /
and the domain is .market.com
magento2 cookie multi-website
add a comment |
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 subdomain like this: .market.com
But the session is not kept, I tried to log in www.market.com and when I go to sub1.market.com I am not connected.
I already cleared the cache, flushed the cache, and reindexed. I also cleared the browser cookies. I tried market.com
as cookie and /
as cookie path and nothing worked.
I need to do this it's a major task, but i'm out of idea. If someone can helpme!
- Magento 2.1.6
- Dev on localhost using wamp
- Php 7
- change localhost with custom link (www.market.com)
In a previous install it was working, but with this install it don't want to work.
EDIT : I already searched, but every problems is about the multi websites without using www.
so cookie domain is not kept. In my case I set a www.
domain and try every cookie domain.
EDIT 2 22.06.2017
My cookie pathis empty and my cookie domain is market-eurecia.com
But when I go to the cookie with chrome, the path is /
and the domain is .market.com
magento2 cookie multi-website
Is the cookie set in the browser when you log in for the correct domain (i.e. .market.com)?
– nikola99
Jun 21 '17 at 21:29
When I go tochrome://settings/cookies
there is 4 cookie on market.com PHPSESSID, admin, admin, formkey. The PHPSESSID havepath: /
,domain : .market.com
. Also there is noSID in url i have only the sub1.market.com.
– Nundra
Jun 22 '17 at 7:23
add a comment |
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 subdomain like this: .market.com
But the session is not kept, I tried to log in www.market.com and when I go to sub1.market.com I am not connected.
I already cleared the cache, flushed the cache, and reindexed. I also cleared the browser cookies. I tried market.com
as cookie and /
as cookie path and nothing worked.
I need to do this it's a major task, but i'm out of idea. If someone can helpme!
- Magento 2.1.6
- Dev on localhost using wamp
- Php 7
- change localhost with custom link (www.market.com)
In a previous install it was working, but with this install it don't want to work.
EDIT : I already searched, but every problems is about the multi websites without using www.
so cookie domain is not kept. In my case I set a www.
domain and try every cookie domain.
EDIT 2 22.06.2017
My cookie pathis empty and my cookie domain is market-eurecia.com
But when I go to the cookie with chrome, the path is /
and the domain is .market.com
magento2 cookie multi-website
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 subdomain like this: .market.com
But the session is not kept, I tried to log in www.market.com and when I go to sub1.market.com I am not connected.
I already cleared the cache, flushed the cache, and reindexed. I also cleared the browser cookies. I tried market.com
as cookie and /
as cookie path and nothing worked.
I need to do this it's a major task, but i'm out of idea. If someone can helpme!
- Magento 2.1.6
- Dev on localhost using wamp
- Php 7
- change localhost with custom link (www.market.com)
In a previous install it was working, but with this install it don't want to work.
EDIT : I already searched, but every problems is about the multi websites without using www.
so cookie domain is not kept. In my case I set a www.
domain and try every cookie domain.
EDIT 2 22.06.2017
My cookie pathis empty and my cookie domain is market-eurecia.com
But when I go to the cookie with chrome, the path is /
and the domain is .market.com
magento2 cookie multi-website
magento2 cookie multi-website
edited Jun 22 '17 at 7:42
Nundra
asked Jun 21 '17 at 12:34
NundraNundra
981 silver badge11 bronze badges
981 silver badge11 bronze badges
Is the cookie set in the browser when you log in for the correct domain (i.e. .market.com)?
– nikola99
Jun 21 '17 at 21:29
When I go tochrome://settings/cookies
there is 4 cookie on market.com PHPSESSID, admin, admin, formkey. The PHPSESSID havepath: /
,domain : .market.com
. Also there is noSID in url i have only the sub1.market.com.
– Nundra
Jun 22 '17 at 7:23
add a comment |
Is the cookie set in the browser when you log in for the correct domain (i.e. .market.com)?
– nikola99
Jun 21 '17 at 21:29
When I go tochrome://settings/cookies
there is 4 cookie on market.com PHPSESSID, admin, admin, formkey. The PHPSESSID havepath: /
,domain : .market.com
. Also there is noSID in url i have only the sub1.market.com.
– Nundra
Jun 22 '17 at 7:23
Is the cookie set in the browser when you log in for the correct domain (i.e. .market.com)?
– nikola99
Jun 21 '17 at 21:29
Is the cookie set in the browser when you log in for the correct domain (i.e. .market.com)?
– nikola99
Jun 21 '17 at 21:29
When I go to
chrome://settings/cookies
there is 4 cookie on market.com PHPSESSID, admin, admin, formkey. The PHPSESSID have path: /
, domain : .market.com
. Also there is noSID in url i have only the sub1.market.com.– Nundra
Jun 22 '17 at 7:23
When I go to
chrome://settings/cookies
there is 4 cookie on market.com PHPSESSID, admin, admin, formkey. The PHPSESSID have path: /
, domain : .market.com
. Also there is noSID in url i have only the sub1.market.com.– Nundra
Jun 22 '17 at 7:23
add a comment |
1 Answer
1
active
oldest
votes
I find it !
It was the ... Store - Config - Customer Account sharing from Websites to Global ^_^
I forget there was this option ..
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f180092%2fsubdomain-cookie%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I find it !
It was the ... Store - Config - Customer Account sharing from Websites to Global ^_^
I forget there was this option ..
add a comment |
I find it !
It was the ... Store - Config - Customer Account sharing from Websites to Global ^_^
I forget there was this option ..
add a comment |
I find it !
It was the ... Store - Config - Customer Account sharing from Websites to Global ^_^
I forget there was this option ..
I find it !
It was the ... Store - Config - Customer Account sharing from Websites to Global ^_^
I forget there was this option ..
answered Jun 22 '17 at 8:21
NundraNundra
981 silver badge11 bronze badges
981 silver badge11 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f180092%2fsubdomain-cookie%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Is the cookie set in the browser when you log in for the correct domain (i.e. .market.com)?
– nikola99
Jun 21 '17 at 21:29
When I go to
chrome://settings/cookies
there is 4 cookie on market.com PHPSESSID, admin, admin, formkey. The PHPSESSID havepath: /
,domain : .market.com
. Also there is noSID in url i have only the sub1.market.com.– Nundra
Jun 22 '17 at 7:23