I'm writing SharePoint webparts that are communicating with external system. Currently, on each request, a connection with system is made, user is authenticated and session is established - than custom code which interacts with external system can be executed.
Such solution is very slow. I would like to create connection with external system when user logs to SharePoint and destroy it when user logs out. Such thing could be achieved by session mechanism.
Is there any possibility to hook up to session start/session end events in SharePoint?
