FEU and subdomain for Shop

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
janvl
Power Poster
Power Poster
Posts: 985
Joined: Wed Aug 13, 2008 10:57 am

FEU and subdomain for Shop

Post by janvl »

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
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...
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: FEU and subdomain for Shop

Post by JohnnyB »

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.
"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.
--
janvl
Power Poster
Power Poster
Posts: 985
Joined: Wed Aug 13, 2008 10:57 am

Re: FEU and subdomain for Shop

Post by janvl »

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
Post Reply

Return to “Modules/Add-Ons”