Copied to clipboard

Flag this post as spam?

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


  • phil 58 posts 78 karma points
    Mar 22, 2012 @ 17:28
    phil
    0

    extending the session timeout

    I was wondering is there was a way to stop the session timing out so if items are added to the cart they arn't removed unless the user deletes them 

  • Anders Burla 2560 posts 8256 karma points
    Mar 22, 2012 @ 17:32
    Anders Burla
    0

    Hi Phil

    You can make Tea Commerce cookie based or just extend the normal session timeout for your website

    Kind regards
    Anders

  • Grant Thomas 291 posts 324 karma points
    Mar 22, 2012 @ 17:35
    Grant Thomas
    1

    I don't know if Tea Commerce will use any of its own magic to keep things in terms of 'sessions', I would be surprised, but that's not too uncommon.

    I would expect that it would use the standard ASP.NET session state, so you should be able to modify this in the web.config and see it reflected on the site:

    <system.web>
      ...any other stuff...
      <sessionState ... timeout="timeInMinutes"/>
      ...any other stuff...
    </system.web>

    Of course this won't mean the items, or the session lasts indefinitely - anything could happen, your app could crach, restart, whatever - but with a long enough time there it should give the perception of indefiniteness.

  • Rune Grønkjær 1372 posts 3103 karma points
    Mar 23, 2012 @ 10:12
    Rune Grønkjær
    0

    Hi Grant and Phil,

    Tea Commerce uses the standard ASP.NET session to store information about the current order. As of version 1.4.2.2 Tea Commerce have given the opportunity to use cookies to store information about the current order (No safety critical information though. Just ID's). You are able to switch between cookies or session in general settings by hitting a checkbox.

    /Rune

Please Sign in or register to post replies

Write your reply to:

Draft