문제

I'm building a web application that needs to be able to scale.

We want to store a connection string, an object that says what organization the user is working on right now and the identity of the user.

We could serialize down this and send through the userdata property in the FormsAuthenticationTicket, but that feels to not be the optimal solution, because it is 4-5 strings of data that are unncessesary, but the main issue is that we are sending an encrypted connectionstring to the user which we don't want to.

So what are our options?

Can ASP.NET cache be our solution? Can we couple the expiration of the ASP.NET cache and the formsauthenticationcookie?

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top