visionmedia/express-resource — Issue #52: req.session undefined
Author: panosru
Created: 2012-02-17 23:37:10+00:00
State: open

I noticed that `req.session` is undefined for resources but it works fine for manually added routes using `app.get` method

```
Main application server listening on port 3001 in development mode

{ lastAccess: 1329521660742,rt 3000 in development mode
cookie:
{ path: '/',
httpOnly: true,
_expires: Sat, 18 Feb 2012 03:34:20 GMT,
originalMaxAge: 14400000 },
_csrf: 'B91I4oOdFYhs3h9PNdBsJagE' }

GET /404
response time: 20ms
memory rss: 148.00kb
memory vsize: NaNgb
heap before: 29.63mb / 107.27mb
heap after: 30.42mb / 107.30mb

undefined

GET /
response time: 9ms
memory rss: 0b
memory vsize: NaNgb
heap before: 18.28mb / 52.08mb
heap after: 18.85mb / 52.08mb

```

`/` is set through `app.resource` and `/404` is set through `app.get`