Methods for cWebResourceManager

View method list in alphabetical order

NameTypeDescription
ContentTypeFunctionDetermines MIME type string based on file extension
CustomDownloadURLFunctionA lower level version of DownLoadURL. Use to generates a more customized unique and secure URL from downloading a file
DownloadURLFunctionGenerates a unique and secure URL from downloading a file
FileDownloadFunctionCalled by the file download handler to get the local file path
FileDownloadFinishedProcedureCalled when a file download is complete
FileNameFromPathFunction
FileUploadFunctionCalled by the file upload handler to get the local path to store the file
FileUploadFinishedProcedureCalled when a file upload is complete
FileUploadKeyFunctionCalled by the file upload controls to generate a key used by the file upload handler to properly store the file
FileUploadKeyToPathFunctionCalled by the file upload control to get the local file path to store the file based on the provided upload key
IsAllowedDownloadFolderFunctionDetermines whether the passed path is inside one of the registered download folders
IsAllowedUploadFolderFunctionDetermines whether the passed path is inside one of the registered upload folders
RegisterDownloadFolderProcedureUsed to register a local file path as an accessible download folder
RegisterUploadFolderProcedureUsed to register a local file path as accessible upload folder

Inherited Methods from cBaseWebComponent

AddHttpResponseHeaderProcedureSets a specific response header
ClearErrorsProcedureClears the error queue
ErrorCountFunctionReturns the number of errors in the current error queue
ErrorMessageFunctionReturns the error message for an index in the error queue
ErrorMessageDetailedFunctionReturns a detailed (more technical) error message for an index in the error queue
ErrorNumberFunctionReturns the DataFlex error number for an index in the error queue
ErrorQueueEndProcedureEnds an error queue process
ErrorQueueStartProcedureUsed to start an error queue for a web request
GetCookieFunctionReads a cookie key
IsQueuedErrorFunctionReturns True if errors are being queued
LogErrorEventProcedureRaises an error and explicitly logs the error in the event log
LogEventProcedureLogs an event to the Web Application's event log
ServerVariableFunctionAllows retrieval of IIS Server Variable values
SetCookieProcedureUsed to update a cookie key

Inherited Methods from cObject

ChildByIndexFunctionCan be used to iterate the direct children of an object
ClassSuperClassFunctionReturns the superclass of the passed class
CreateFunctionCreates an object based on the passed Class Id
CreateNamedFunctionCreates an object based on the passed Class Id and assigns it a name Name based on a passed name
DestroyProcedureDestroys the object that receives the message and any child objects of that object
Exit_ApplicationProcedureStarts the process of closing an application
IsClassOfClassFunctionDetermines whether the target class is part of the searched class's hierarchy
IsObjectOfClassFunctionDetermines whether the passed class is part of the object's class hierarchy
ObjectClassFunctionReturns the integer class ID assigned to the class this object is based on
Request_Destroy_ObjectProcedureUse the Destroy method instead [Obsolete]