Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2007
    Location
    oregon
    Posts
    70
    Plugin Contributions
    0

    Default Sessions and cookies

    In admin sessions cookie domain when set to false and zen is set up in a subdomain it still showes the cookie name as if this setting was set to true.

    I have played with this over the last couple days changing the config file Only to take out of subdomain to just a folder domain.com/zen and back to zen.domain.com all workes as expected when just in a folder but not in a subdomain.

    the setting will strip the www so why not the sub off of sub.domain?

    Is there a way around this? I really need this fix.


    zen 1.3.9h
    Last edited by FreeArticlePublishin; 28 Nov 2010 at 09:45 PM. Reason: zen version

  2. #2
    Join Date
    Nov 2007
    Location
    oregon
    Posts
    70
    Plugin Contributions
    0

    Default Re: Sessions and cookies

    I have done some investigation into the way Zen calculates the cookie domain name. The original osC and most clones have a congiguration file where you can set the cookie domain. Zencart calculates the domain but does it poorly for more complicated domains with subdomains.\
    Eg if you have subdomain.domain.com Zen will xcalcualte the cookie domain correctly as .domain.com. Howver in caes like dom1.dom2.domain.com it will go wrong (should still be .domain.com). Even worse, for the uk and some other coutries with domains like subdomain.domain.com.uk it goes wrong again. but this is still the best cart there is in myopion.

 

 

Similar Threads

  1. v150 Navigating with Sessions when Cookies are Disabled
    By gunnzo in forum General Questions
    Replies: 3
    Last Post: 17 Dec 2014, 07:44 PM
  2. UK Legislation and Cookies?
    By tsrplatelayer in forum General Questions
    Replies: 22
    Last Post: 11 Jun 2012, 02:33 PM
  3. Sessions, cookies and remember me function
    By delia in forum General Questions
    Replies: 2
    Last Post: 13 Dec 2006, 04:32 PM
  4. Directory Change, Now no cookies/sessions
    By helmetman in forum General Questions
    Replies: 5
    Last Post: 30 Sep 2006, 07:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR