We're creating a desktop MVVM application using Prism and Ninject. This application will feature sessions during which data should be recorded under a specific session. Our Views and ViewModels are created by an IoC container by Prism. I would like to start and stop sessions, but I have no idea how to handle scoping for parts such as the DAL of a desktop application.
Am I thinking in the right direction or should I be thinking about it differently? I guess I could pass through a session ID through navigation parameters in Prism or broadcast session events using the PubSubEvents messagebus, but that just seems wrong.