Sean, I'm aware of that, but if I was using this kind of "shared" nrepl server the first thing I would do after connecting is changing namespace to slightly reduce chance of someone messing up with what I'm doing. That's why I thought about creating new namespace for each session.
On Thursday, 17 April 2014 19:40:13 UTC+2, Sean Corfield wrote: > > Since they can move into any namespace they want and they're all sharing > the same running JVM context, I'm not sure what separate namespaces buys... > Can you elaborate on your use case? > > Sean > > On Apr 17, 2014, at 5:35 AM, Arkadiusz Komarzewski > <akomar...@gmail.com<javascript:>> > wrote: > > I would like to let multiple users use single nrepl server. One problem > I noticed is that after connecting you are by default put in 'user' > namespace. I am looking for a way to configure nrepl server in a way it > will assign new namespace (let's say random-generated) for each session. > > > > Are there any existing solutions for that? > > > > So far I (after browsing nrepl source) I think I would have to write my > own session middleware, which would handle creation of new namespaces per > session. Is this the correct approach? > > > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.