1

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!

1 Answer 1

2

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.

Sign up to request clarification or add additional context in comments.

1 Comment

same linraries available as stated- obviously with the session recycling every 20 minutes does not sound like a good plan anyway :-)

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.