Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Dennis Pullens 6 posts 76 karma points
    Jan 17, 2018 @ 13:14
    Dennis Pullens

    Cookie resets before expire date


    A client requires the teacommerce cart to be saved on a client's machine for a long period of time. To do this, I changed the 'Cookie timeout' setting from 60 to 1440 (1 day for testing purposes). The 'Use cookies' setting is checked.

    As I began testing on several environments, I noticed that the cookie has the right 'expires date' set, but is removed/overwritten before the 'expires date' nonetheless, even if no data changed. (Before it would have the currentOrderId set, but after revisiting the page the 'expires date' is different and the currentOrderId is empty).

    I've searched our solution to see if we overwrite anything cookie related, but nothing has come up. Is there anything i'm overlooking in Tea Commerce?

    Thanks in advance for any help/suggestions!


    Umbraco v7.5.6 TeaCommerce v3.0

  • Brian Lyk Larsen 19 posts 264 karma points
    Jan 19, 2018 @ 08:10
    Brian Lyk Larsen

    Hi Dennis,

    I haven't been able to re-create your problem on the demo website, and it's not a problem I've experienced before.

    Could you have a rogue TC.removeCurrentOrder() call somewhere? That would remove the currentOrderId and change the expiration date.

Please Sign in or register to post replies

Write your reply to: