Thanks for your reply! I am afraid that this solution doesn't work in my case. My problem isn't to have different instances with different datasessions but to have access to the caller's Datasession ID even if I have only one instance of the class. Thanks!