Save value of a variable inside a controller to use in method executed in another DLL

0

I need to save some information in User Login and use this information in another DLL.

EX:

Projeto.Web
Projeto.Domain.dll      

When the user logs in to the Project.Web controller UserController, I need to save the project that the user is logging into, so I created a static class in the Project.Domain.dll and put the value as soon as the user logs in, but when I use this value in a method that is in the Project.Domain dll it is zeroed, ie it loses its value.

What is the best way to work with this data passage, since I tried with Session and also did not succeed, I believe it is due to use this value in DLL Class Library .......

    
asked by anonymous 17.04.2018 / 18:16

0 answers