C# – When do Request.Params and Request.Form differ


I recently encountered a problem where a value was null if accessed with Request.Form but fine if retrieved with Request.Params. What are the differences between these methods that could cause this?

Best Solution

Request.Form only includes variables posted through a form, while Request.Params includes both posted form variables and get variables specified as URL parameters.