Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22
  1. #11
    Join Date
    Aug 2004
    Location
    Newport, Wales
    Posts
    283
    Plugin Contributions
    0

    Default Re: Zen ID remains in URL if storefront is set to HTTPS

    here they are:

    Code:
    Session Directory 	/home/******/public_html/cache 	 
    Cookie Domain 	        True 	
    Force Cookie Use 	False 	
    Check SSL Session ID 	False 	
    Check User Agent 	False 	
    Check IP Address 	False 	
    Prevent Spider Sessions 	True 	
    Recreate Session 	        True 	
    IP to Host Conversion Status 	true 	
    Use root path for cookie path 	False 	
    Add period prefix to cookie domain 	True

  2. #12
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: Zen ID remains in URL if storefront is set to HTTPS

    You could try (cautiously) changing (one at a time) the Use root path as cookie path and Add period prefix to cookie domain settings.

    After each change, you'll need to reset your browser's cookies for the domain so that you're not locked out of your admin.

    ------------

    Update: I take that back. Try first setting Cookie Domain to False.

  3. #13
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,696
    Plugin Contributions
    123

    Default Re: Zen ID remains in URL if storefront is set to HTTPS

    Try just switching to PHP 7. I have seen situations where this single change resolves issues with sessions.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #14
    Join Date
    Aug 2004
    Location
    Newport, Wales
    Posts
    283
    Plugin Contributions
    0

    Default Re: Zen ID remains in URL if storefront is set to HTTPS

    Cant move to php7 at the moment as I am running a Live 1.5.1 site on the same server and I believe its not compatible.

    Will test the setting changes Lat9 suggested and see if they have a positive impact.

  5. #15
    Join Date
    Aug 2004
    Location
    Newport, Wales
    Posts
    283
    Plugin Contributions
    0

    Default Re: Zen ID remains in URL if storefront is set to HTTPS

    Changed Use root path as cookie path and Add period prefix to cookie domain settings both individually and then both together and still no change.

  6. #16
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: Zen ID remains in URL if storefront is set to HTTPS

    How about setting Cookie Domain to false?

  7. #17
    Join Date
    Aug 2004
    Location
    Newport, Wales
    Posts
    283
    Plugin Contributions
    0

    Default Re: Zen ID remains in URL if storefront is set to HTTPS

    Tried that and the ZenID still remains until I click the home link in either the header or footer.

  8. #18
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Zen ID remains in URL if storefront is set to HTTPS

    I've clicked around the store, adding/removing items from the basket, without any zenid following in the URL. The cookie appears to be set properly on first visit.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #19
    Join Date
    Aug 2004
    Location
    Newport, Wales
    Posts
    283
    Plugin Contributions
    0

    Default Re: Zen ID remains in URL if storefront is set to HTTPS

    The test site with 1.5.6 on is on a subdomain with only my ip whitelisted so I assume you were looking at my live site which is still running 1.5.1

  10. #20
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Zen ID remains in URL if storefront is set to HTTPS

    Here's one thing to check: visit the site afresh, then go into your browser's Inspect panel and look at the Storage section, where it shows cookies.
    Look at the cookie domain. Then click around your site. Does the cookie domain match the URL? Does it change from page to page? Does it change between http and https?

    If the cookie doesn't match the domain, it won't sync up, so PHP won't be able to read it and therefore won't retain any activity such as add-to-cart or login etc.
    This is a common problem on subdomains, which usually disappears on the root domain. It can sometimes be resolved by tweaking ZC sessions configs or by tweaking server configs. But if it's going to be in the root domain eventually anyway then it's moot.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v155 Force Secure URL (HTTPS)
    By sports guy in forum General Questions
    Replies: 6
    Last Post: 15 Jul 2017, 08:12 PM
  2. v139h Two URL's pointing to same storefront?
    By RFree190 in forum General Questions
    Replies: 7
    Last Post: 20 Oct 2012, 06:09 AM
  3. Replies: 4
    Last Post: 3 May 2010, 07:59 AM
  4. have to set my url to https on 1and1, plus a question
    By solorsix in forum General Questions
    Replies: 7
    Last Post: 17 Oct 2008, 02:09 AM

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