Tabs Widget Losing Cookie

Tabs Widget Losing Cookie


I'm using the tabs widget with the cookie option set as follows:
$("#tabs").tabs({
cookie: {
expires: 1,
name: 'product-tabs'}
});
The problem I'm having is that when I navigate away from the page, the
cookie is getting deleted. However, if I just refresh the page, the
cookie is kept and the proper tab is selected based on the cookie's
value. Any ideas on why the cookie gets deleted when I navigate to
another page on my website? This happens across all my browsers so it
doesn't appear to be a browser setting.