MultiRequestUploadModule Class
Provides an API (via its static members) that upload controls can use to do multi-request uploads if the currently installed upload module implements IMultiRequestUploadModule. The members of this class mostly delegate to the corresponding members of the IMultiRequestUploadModule that is installed in the <httpModules> section of the Web.config.
For a list of all members of this type, see MultiRequestUploadModule Members.
System.Object
Brettle.Web.NeatUpload.UploadModule
Brettle.Web.NeatUpload.MultiRequestUploadModule
Thread Safety
Public static (Shared in Visual Basic) members of this type are
safe for multithreaded operations. Instance members are not guaranteed to be
thread-safe.
Remarks
The module treats the following sequence of requests as a single upload:
- An initial POST request sent to the UploadPath containing:
- a post-back ID in the query parameter named by PostBackIDQueryParam
- a control UniqueID in the query parameter named by ControlIDQueryParam
- "protected" cookies needed for authentication or session identification in the query parameter named by ArmoredCookiesQueryParam
- a space-delimited list of file sizes in the form field named by FileSizesFieldName
- (optionally) a form field with a name starting with ConfigFieldNamePrefix followed by the same control UniqueID as above, containing "protected" module-specific configuration information.
- A sequence of upload request (one for each file size in the file sizes field of the initial request) to the UploadPath containing:
- a post-back ID in the query parameter named by PostBackIDQueryParam
- a control UniqueID in the query parameter named by ControlIDQueryParam
- "protected" cookies needed for authentication or session identification in the query parameter named by ArmoredCookiesQueryParam
- A final form submission upload request to any path for which IsEnabled returns true. This request must contain the postback ID in one of the following locations: While this request is being handled, the module will make all the files associated with the post-back ID available via Files.
Requirements
Namespace:
Brettle.Web.NeatUpload
Assembly: Brettle.Web.NeatUpload (in Brettle.Web.NeatUpload.dll)
See Also
MultiRequestUploadModule Members | Brettle.Web.NeatUpload Namespace