Sunday, August 24, 2008

Find Out the Length of Posted Content

In case you want to know whether any content was submitting from the client by the post method, you must read the value from the environment variable CONTENT_LENGTH. (The post method is described in detail in the section “Using the post method”)

nContentLength = Request.Servariables (“CONTNET_LENGTH”)

No comments: