javascript - Using TempData and deleting it in jQuery -


i have use tempdata 1 controller one. on last controller's view, using jquery script check value of tempdata , if value corresponds need do, popup shows up.

after popup, want delete value of temp data. have used @(tempdata["mykey"]).remove , tempdata.remove("mykey") in script, still no luck.

i know there alternatives(viewbag, viewdata,s ession) have use tempdata since user redirected.

thanks in advance.


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -