Connect-related middleware is "self-aware" as they will not duplicate the work they have already done. For example, if you already have req.session, and both the βrootβ application and the mounted application use session () middleware, the root application session will work and the other will be ignored. Therefore, it should work as is.
tjholowaychuk 04 Oct '11 at 16:25 2011-10-04 16:25
source share