5
Every time I upload a DLL from my site, I take down all users who need to session
to remain logged in the administration.
I was using the build that turns everything into . dll and . Compiled but when compiling to . aspx + . dll also happens the same thing.
ex:
Subo the DLL responsible for the entities falls everyone.
This is normal in ASP.NET ?
I must change the security system in the administration to not use Session?
I’m compiling it wrong ?
(Precompile During Publishing > Allow Precompiled site to be updatable)
In ASP Classic I could change multiple files without knocking down the session
! this is a limitation of ASP.Net or I’m doing it wrong?
This is by-design expensive... if you want the sessions to be persistent you will need to use a database-based or external session server-based session provider.
– Miguel Angelo
Session via database, this out of question...does not compensate.. the problem is that I have over 200 DLL and if I modify only 1 drops everyone.
– Dorathoto
You could then use an external, out-of-process session server. The session in your case disappears because it is in-process, and when changing a DLL the process is restarted by the IIS.
– Miguel Angelo
Is there a way to log in without using Session? any internal components? today basically record in Sesssion the permission for it to continue logging in
– Dorathoto
Yes, via cookie. It is possible to record authorization information in the authentication cookie, encrypted of course.
– Miguel Angelo