Session Timeout Emptying Shopping Cart

  • I have been running 2.0.1 virtualized, load balancing virtualized server pools for a while and everything has been working great. Recently we added shopping cart type functionality. By design, timeouts due to inactivity occur. These timeouts result in carts being reinitialized as new connections are required. I have been asked if I could configure the inactivity timeout to be one hour. Is this possible and if so, is there a specific set of parameters that I need to modify to accomplish this?

  • Rebel Alliance Developer Netgate

    If you're using the built-in load balancer, it's unlikely to work in that way.

    You'd be better off with a package like HAproxy that has several different methods of maintaining a persistent client-server relationship.

Log in to reply