ASP MVC USING CSLA session question

ASP MVC USING CSLA session question

Old forum URL:

fredg posted on Monday, April 15, 2013



project is designed to use a stateless web server model. To help ensure that no state is maintained on the web server, the ASP.NET Session object is disabled.

If session is disabled, we need to maintain a set of data for a logged user, what else option can we use? we don't want to use ticket(cookie), because it has limited size and would be passes back and forth to client side.  

RockfordLhotka replied on Monday, April 15, 2013

The options for managing state on ASP.NET are usually well documented in ASP.NET books.

Generally the options include:


fredg replied on Tuesday, April 16, 2013

Thanks. Cookie with file/DB is good solution to my problem. Where can I have a quick reference for it? I store user token in cookie(ticket) which can be passes between client and server, but in server side, how to use the user token to load custom data(since session is disabled)?

sergeyb replied on Tuesday, April 16, 2013

You may also look at distributed in memory caching system such as App Fabric for this because you get good performance and redundancy combination out of this type of solution without putting extra pressure on your DB server.  Also, you always want to have a back up plan if cached data is not found and fetch it again if so.

Copyright (c) Marimer LLC