add repository field to package.json
Merge pull request #15 from lpinca/add/repository-field

Add repository field to package.json
Update README.md
Updated example

Ok, the example made me waste 10+ hours trying to figure why my login didn't work.

Not all people understand 100% the library and the example is just plain wrong. The example used `secure: true` and copy-pasting it on a non-https site would fail to work always. Also, the **Options** doesn't include anything about **cookie secure**, so i updated the example to make it working and simple, and also updated **Options** to include `secure` defaults.
Updating README to remove connect reference.

Session module is no longer part of connect. Updating README to reflect
that.
Merge pull request #20 from aishwar/master

Updating README to remove connect reference.
Fix example.

The required module name is wrong, it should be 'express-session', not 'session'.
Merge pull request #21 from tracid/master

Fix example.
Moving from connect to express 4.0.0-rc3

Because if this project is meant to replace the bundled middleware in 3.x for those who have moved to 4.x, it should be tested against 4.x.

Also, connect patches core http methods so behavior is in fact different now between express and connect.

Signed-off-by: Brian White <mscdex@mscdex.net>
Add new test verifying prevented cookie overwrite

This is an example of something that the connect unbundling changed. res.setHeader, when connect has been loaded, properly checks the previous value and creates an array or adds to the existing array.

Express 4.x, without connect, doesn't have this built-in collision prevention logic.

Signed-off-by: Brian White <mscdex@mscdex.net>
bump express dev dep to 4.0.0
Use res.cookie() instead of res.setHeader()

Fixes #16
Update dependencies
Bump version to 1.0.3
#Fix - Readme.md

Manipulation of session variables must be before res.end() or it will take no effect. 
Tested with express 4.0.0, session using connect-redis, but with cookies it should have the same issue.
Merge pull request #25 from ricardofbarros/patch-1

#Fix - Readme.md
Updating the link to cookie-parser

Fixes #24.  Linking to the new cookie-parser repository in the
expressjs org.
Merge pull request #29 from freethejazz/issue24

Updating the link to cookie-parser
Cleaner docs.

Add build and npm module badges.
Cleaned some comments.
manually merge secure cookie notes and an example from #19 issue, thanks to @felixsanz

gist: secure cookies need https, docs didn't mention it