I'm looking for a server-side variable that only lives for the duration of a single request and that gets reset each request, and that is shared between multiple control instances, and that is specific to each user (rather than shared among multiple users).
A static variable persists too long (across multiple requests), a member variable isn't shared among multiple control instances, session persists across multiple requests, and cookies/view state go to the client (I only want it to reside on the server).
I could probably store something in session and reset it in Application_BeginRequest so that it is fresh for each request (and maybe erase it in Application_EndRequest), but I was wondering if there was a more standard way of doing this. How would you create such a variable?
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)