I'd like to be able to set a time span that a customers' cart would expire, so once an item is added to their cart, they have say 15 minutes to checkout before all items are removed from cart and stock numbers are replenished on the these particular items.
This works by changing the Cookie Session time in the configuration for Magento, but with the unintended side effects of logging the user (and admin) out. Is there a way to just set the "session" time of the cart and not the user?
$_SESSION
array is destroyed. On the downside, it'll log you out too. – Polynomial