Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Join Date
    May 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Does Zen Cart have to run my entire site?

    Thanks for your answer. We are required to run the cart in iframe from an existing site. Since parent site is in a different domain than cart site (embeded iframe), looks like the browser can't create the cart session cookie. That is why i was loosing my stuff.

    I solved the issue by punching the user out to an invisible page in cart's domain which creates the session cookie and then re-direct the user to the client site embedding the cart iframe. The browser has the ability to read the cookie and work with the session then...

    ugly solution, but it works

  2. #12
    Join Date
    Dec 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Does Zen Cart have to run my entire site?

    Quote Originally Posted by doodlebee View Post
    Like I said above - it's not the cookie that's lost, it's the time that's set for the cookie. I've had no problem starting a cart and navigating from site to site - as long as I return to the cart in that 24-minute window, my stuff is still there whether I'm logged in or not. If I come back *after* the 24-minute window has passed, everything is gone.

    You can set the session for longer amount of time, but I really wouldn't do that.
    Where do you set the timeout for the cookie - Is this still valid for the current version of Zen ?
    Thanks much

  3. #13
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Does Zen Cart have to run my entire site?

    tipsy -Please don't post in a thread and then start your own new thread for the same issue.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  4. #14
    Join Date
    Dec 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Does Zen Cart have to run my entire site?

    Sorry,
    My bad, Hopfully it can be deleted by the Mod's

  5. #15
    Join Date
    Dec 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Does Zen Cart have to run my entire site?

    Wouldn't navigation to all off pages through an EZ pages redirect solve that without any question? Easy enough to link through an EZ page and they ARE unlimited. :o)
    <?php?><?SQL?>
    I've been zenned
    backyardfunsite.com/playgroundequipmentsupply.us

  6. #16
    Join Date
    Nov 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Does Zen Cart have to run my entire site?

    I just want to recap on with what I know.

    The server creates the SessionID and holds the Session (cart) information.

    Then stores a cookie on the browser that references the SessionID.

    The session is held for X amount of time after the last time the session was accessed (i.e. any php page on the site). There is several different places to set the X time, but this is where you are seeing the '24 minutes'.

    Right now the cookie is store indefinitely on the user's browser, UNTIL the browser is closed. This is from the settings that I see.

    So in other words, the user can browse anywhere, even off-site.
    As long as the user doesn't browse away from the site for more than the Session Timeout OR close the browser window; the cart should be safe.


    -----------------------
    I will state that with php code, they code can change the SessionID, although this isn't really likely and usually for special purposes only.

  7. #17
    Join Date
    Jul 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: Does Zen Cart have to run my entire site?

    I don't know if this post is still live, but here's an elegant solution to keep session information when browsing away from ZC.

    This solution assumes your static site is hosted in the same dir as ZC.

    In any static page just include:

    <?php require 'includes/application_top.php'; ?>

    This will load the main ZC environment and restore the $_SESSION variable.

    You can then return to your cart with no timeout issue.

    Cheers

  8. #18
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Does Zen Cart have to run my entire site?

    Quote Originally Posted by achachet View Post
    ...This solution assumes your static site is hosted in the same dir as ZC.

    In any static page just include:

    <?php require 'includes/application_top.php'; ?>

    This will load the main ZC environment and restore the $_SESSION variable. ....
    Technically this should work fine. However, in most cases the static pages do not reside in the same dir as ZC. In other words, if the static pages reside in the top level of the server and ZC in a sub dir then simply no go...

  9. #19

    Default Re: Does Zen Cart have to run my entire site?

    Would it work if you used absolute link?
    <?php require 'http://www.zen-cart.com/includes/application_top.php'; ?>

  10. #20
    Join Date
    Apr 2006
    Location
    Midland TX
    Posts
    428
    Plugin Contributions
    0

    Default Re: Does Zen Cart have to run my entire site?

    I have built my website using NOF-11 and linked to Zencart for the shopping. I have not found this to be a real issue. If it is a new customer they are leaving for some reason and could leave on either design. If it is a Returning customer and they place products in cart then they should be there even if they return next week. To me no big deal, I find it easier or what I am custom to have them split.

    Larry
    Last edited by EZorb; 3 Apr 2010 at 07:13 PM.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Fast and Easy Checkout for Zen Cart - broke my entire site
    By finlander in forum Addon Payment Modules
    Replies: 2
    Last Post: 29 Nov 2010, 03:59 PM
  2. Does zen cart have free manual?
    By tomasf4 in forum Basic Configuration
    Replies: 2
    Last Post: 8 Apr 2009, 07:33 AM
  3. Does Zen Cart have an import function?
    By Aftermarket Man in forum General Questions
    Replies: 2
    Last Post: 12 Mar 2009, 11:07 PM
  4. Does Zen-Cart run on php5?
    By jgkiefer in forum General Questions
    Replies: 1
    Last Post: 31 Mar 2008, 05:55 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