Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an equivalent to the Java EE ServletContext in ASP.NET?

I need a way to store application-level data (i.e. cross user sessions) in ASP.NET. In Java EE I'd use the ServletContext. Is there an equivalent in ASP.NET?

like image 752
Matthew Murdoch Avatar asked Dec 13 '25 04:12

Matthew Murdoch


1 Answers

From what you say (cross-user sessions) the closest you get to that in ASP.NET is through HttpApplicationState object.

like image 184
Anton Gogolev Avatar answered Dec 14 '25 19:12

Anton Gogolev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!