Javascript result into httpcontext.current
I have some javascript code in an mvc4 project that returns a string. I
want this to be passed back on every request to the server. I wanted to
avoid the overhead of modifying every controller and page to pass this
thing around and just unify it to every request, can be both post and get.
I didn't know if there was some way to put the javascript result into
httpcontext.current.
I cannot put this in session or viewdata as this is a key on how to access
the session variables.
No comments:
Post a Comment