ASP.NET - Identify given request
Asked By k syam on 07-Sep-12 07:15 AM
which scenario get and post methods happens.
I have a one small issue in my project i.e how to identify get method and post method in asp.net ,if it is possible to convert get method into Post method.
Peter Bromberg replied to k syam on 07-Sep-12 07:55 AM
You can identify the type of request with the Request.Method property, but you cannot change it since the request has already been issued. Why do you feel you need to change it to a post? If it's a get, all the values will be on the Request.QueryString collection.
k syam replied to Peter Bromberg on 07-Sep-12 09:06 AM
If the values are passed in a get method the hackers easily hack that values so that i want change that get method to post method,in post method the values are not displayed.that's y i want to convert to get method values in to post method.It is possible to convert get method to post method when the form is sending values to one page to another page