Hi,
I have a peculiar problem.
I have a website with a domain - ;http://www.domain.tld
then put the shop in a subdomain - shop.domain.tld
Now if you login to FEU in the wrong domain, and you change from shop to site or vice versa FEU tell you are not logged in.
This probably arranged by a session-cookie.
So the question is can one "share" a session-cookie between 2 domains?
Or is there another solution?
btw CMSMS 1.11.9
Kind regards,
Jan
FEU and subdomain for Shop
FEU and subdomain for Shop
Last edited by Dr.CSS on Sun Mar 30, 2014 6:14 pm, edited 1 time in total.
Reason: Please use double quotes or something on fake links so they aren't clickable...
Reason: Please use double quotes or something on fake links so they aren't clickable...
Re: FEU and subdomain for Shop
Well, shop.domain.tld is the same as domain.tld/shop
Are you using a CMSMS module for the shop or a separate, 3rd party ecommerce system?
If it is all CMSMS, and if you have your CMSMS install (with FEU) at domain.tld, just point when folks go to shop.domain.tld to domain.tld/shop.
"/shop/" would be the page-alias for the landing page holding your ecommerce tags... then everything is on the same domain, same session.
Other than that, you can use a UDT to set some cookies when a FEU logs in. You can use the UDT to check if the feu session cookie is set, etc.
Are you using a CMSMS module for the shop or a separate, 3rd party ecommerce system?
If it is all CMSMS, and if you have your CMSMS install (with FEU) at domain.tld, just point when folks go to shop.domain.tld to domain.tld/shop.
"/shop/" would be the page-alias for the landing page holding your ecommerce tags... then everything is on the same domain, same session.
Other than that, you can use a UDT to set some cookies when a FEU logs in. You can use the UDT to check if the feu session cookie is set, etc.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Re: FEU and subdomain for Shop
I have found that the session-id is stored in the database.
The session-id is domain-dependent, that I could overwrite so it is the same for both domains.
Problem is that every kind of solution needs to be checked with each update, so the customer is better told that it is not possible within a reasonable amount of time spend to make it like he whishes.
I will tell him to use one domain name and no subdomain.
kind regards,
Jan
The session-id is domain-dependent, that I could overwrite so it is the same for both domains.
Problem is that every kind of solution needs to be checked with each update, so the customer is better told that it is not possible within a reasonable amount of time spend to make it like he whishes.
I will tell him to use one domain name and no subdomain.
kind regards,
Jan


