J
jht5945
I am using asp.net now, but I meet a asp.net security problem.
I use select control like this:
<SELECT id="selTokken" style="WIDTH: 144px" name="selTokken"
runat="server">
<OPTION selected></OPTION>
<OPTION value="1">111</OPTION>
</SELECT>
In default this control's view state is enabled.
I want to know that if someone at the client modified the value to 2,
not 1, will it cause exception when the request was sent to the server?
I has test it too, I changed the value to "x" , and I received
""(blank) at the server.
Can any one tell me why? or offer a official document?
thanks,
I use select control like this:
<SELECT id="selTokken" style="WIDTH: 144px" name="selTokken"
runat="server">
<OPTION selected></OPTION>
<OPTION value="1">111</OPTION>
</SELECT>
In default this control's view state is enabled.
I want to know that if someone at the client modified the value to 2,
not 1, will it cause exception when the request was sent to the server?
I has test it too, I changed the value to "x" , and I received
""(blank) at the server.
Can any one tell me why? or offer a official document?
thanks,