Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: session event hooks #200

Closed
RobiFerentz opened this issue Dec 23, 2014 · 6 comments
Closed

Feature Request: session event hooks #200

RobiFerentz opened this issue Dec 23, 2014 · 6 comments

Comments

@RobiFerentz
Copy link

Please please PLEASE add event hooks for session start, session end and anything else you can think of that happens on the session scope.

@bnoordhuis
Copy link
Member

I don't understand what you mean. What session scope?

@RobiFerentz
Copy link
Author

Other server side languages have session events you can use like session_start, session_end etc. It would be nice to have in node/io too.
Expressjs does not supply such events as far as I know. You can set up some session data, but you can't really do anything complex there.

@bnoordhuis
Copy link
Member

Core doesn't have a concept of sessions, that's left to higher-level frameworks like express, hapi, loopback, etc. Core only deals with requests and connections. Sorry, I'm going to close this issue; it's out of scope, no pun intended.

@RobiFerentz
Copy link
Author

Well, then it's pretty crappy that none of them seem to actually have this functionality as far as I know.

@jakubkeller
Copy link

This could even be better implemented as extension for those mentioned
frameworks or as a custom module if really needed.

On 7:31AM, Tue, Dec 23, 2014 Robert Ferentz notifications@github.com
wrote:

Well, then it's pretty crappy that none of them seem to actually have this
functionality as far as I know.


Reply to this email directly or view it on GitHub
#200 (comment).

@aredridel
Copy link
Contributor

Yeah. Should actually be trivial to implement in express, depending on what you mean by session end, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants