[NREPL-24] :session key is overloaded Created: 10/Aug/12 Updated: 03/Oct/12
|Reporter:||Hugo Duncan||Assignee:||Chas Emerick|
The session middleware takes the :session key from the message, and uses it as an id to lookup session data, which it then places on the same key.
Using a separate key for the session id and the session data would be less confusing, and would allow easier checking of the availability of the session data in the message map.
|Comment by Chas Emerick [ 10/Aug/12 11:26 PM ]|
The session id will need to continue to come in in the :session slot, as I don't want to break clients (and, there's very, very few middlewares out there yet).
Suggestions for names for the actual session atom? :the-session? :-/