{"action":"closed","issue":{"url":"https://api.github.com/repos/expressjs/cookie-session/issues/32","labels_url":"https://api.github.com/repos/expressjs/cookie-session/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/expressjs/cookie-session/issues/32/comments","events_url":"https://api.github.com/repos/expressjs/cookie-session/issues/32/events","html_url":"https://github.com/expressjs/cookie-session/issues/32","id":68493523,"number":32,"title":"Count example in page is increasing by two.","user":{"login":"anextro","id":5298753,"avatar_url":"https://avatars.githubusercontent.com/u/5298753?v=3","gravatar_id":"","url":"https://api.github.com/users/anextro","html_url":"https://github.com/anextro","followers_url":"https://api.github.com/users/anextro/followers","following_url":"https://api.github.com/users/anextro/following{/other_user}","gists_url":"https://api.github.com/users/anextro/gists{/gist_id}","starred_url":"https://api.github.com/users/anextro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anextro/subscriptions","organizations_url":"https://api.github.com/users/anextro/orgs","repos_url":"https://api.github.com/users/anextro/repos","events_url":"https://api.github.com/users/anextro/events{/privacy}","received_events_url":"https://api.github.com/users/anextro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/expressjs/cookie-session/labels/docs","name":"docs","color":"d4c5f9"},{"url":"https://api.github.com/repos/expressjs/cookie-session/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"dougwilson","id":67512,"avatar_url":"https://avatars.githubusercontent.com/u/67512?v=3","gravatar_id":"","url":"https://api.github.com/users/dougwilson","html_url":"https://github.com/dougwilson","followers_url":"https://api.github.com/users/dougwilson/followers","following_url":"https://api.github.com/users/dougwilson/following{/other_user}","gists_url":"https://api.github.com/users/dougwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/dougwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougwilson/subscriptions","organizations_url":"https://api.github.com/users/dougwilson/orgs","repos_url":"https://api.github.com/users/dougwilson/repos","events_url":"https://api.github.com/users/dougwilson/events{/privacy}","received_events_url":"https://api.github.com/users/dougwilson/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-04-14T20:52:33Z","updated_at":"2015-04-14T23:18:17Z","closed_at":"2015-04-14T23:18:17Z","body":"I tried to test the count example of this module and noticed that it is increasing by two.\r\n\r\nI am testing on my local machine no nginx. \r\n\r\nIt's almost as if my client machine is making a request twice behind the scenes.\r\nWhat might be the issue?\r\n\r\nEDIT: This is a copy of the http header that is sent to the client. Interesting that there are two Set-Cookie\r\n```\r\nHTTP/1.1 200 OK\r\nConnection: keep-alive\r\nDate: Tue, 14 Apr 2015 20:54:02 GMT\r\nSet-Cookie: finda-sess=eyJjb3VudCI6MzN9; path=/; httponly\r\nSet-Cookie: finda-sess.sig=g9IWmpQ9GvzHHQnDyTeOfAhauto; path=/; httponly\r\nTransfer-Encoding: chunked\r\nX-Powered-By: Express\r\n```"}}