JQuery Mobile
JQuery Mobile

Reputation: 6291

Server-Side State Management in ASP.NET MVC

I am in the process of migrating an ASP.NET web forms application to ASP.NET MVC 3. In my web forms project, we use the Application object to store some temporary information that we want to pass around on the server. We do not want to pass this information back to the client.

My question is, is there an equivalent to the Application object in ASP.NET MVC 3 to handle server-side state management?

Thank you!

Upvotes: 1

Views: 1593

Answers (1)

Alex
Alex

Reputation: 35409

Yes, the "object" is the same and can be accessed in a similar manner. MVC is built "on top of" ASP.Net so you can expect to have access to most of the same data structures like HttpContext.Session and HttpContext.Application.

Upvotes: 2

Related Questions