3
I wonder, how do I send a value I have in javascript to a @Session. in case it would be more or less like this:
I have a variable:
var id = $(Person). val();
this ID wanted to use in a session variable, but I tried to do so:
@Session["Person"] = id;
but when I turn the error page in javascript. how could I do ?
What is the purpose of this?
– Leonel Sanches da Silva
I needed to take it to the controller, but I already found another solution. Thanks
– Fabio Souza