session.ignore is undefined #708

Closed
adamsch1 opened this Issue Dec 12, 2012 · 2 comments

Projects

None yet

3 participants

@adamsch1

Hello -

According to the docs one can do something like

connect.session.ignore.push['/robots.txt'];

[I've tried express.session.ignore... also looked at the src for MySQLSessionStore]

However I am unable to find any reference to 'ignore' in the connect source code, vs 2.7.1,

Was it removed? If so what is the workaround?

Shane

@tj
Member
tj commented Dec 31, 2012

it doesn't exist anymore, there's a few ways you can do this, but a simple one being put static() above the session middleware

@tj tj closed this Dec 31, 2012
@lovekugua00

have any other ways but put static() above the session?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment