Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to do flash data in asp.net mvc?

for more info of what I mean here is a quote from the user guide of the php mvc framework CodeIgniter

CodeIgniter supports "flashdata", or session data that will only be available for the next server request, and are then automatically cleared. These can be very useful, and are typically used for informational or status messages (for example: "record 2 deleted").

..Something like that is what I need

like image 537
nacho10f Avatar asked Nov 25 '25 01:11

nacho10f


1 Answers

Please check TempData in asp.net mvc. Explanation by Phil Haack here

like image 93
twk Avatar answered Nov 27 '25 22:11

twk



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!