Is there a way to store a value that only is valid during the current request in asp.net on the server side. You have the Session where you can set values, you have the Cache where you can set values but you can only read values from the Request. Is there a way to write to the Request or is there other methods to do this?
You can use HttpContext.Items. Here's an example which might help you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With