1
FileUploader Pass GUID to FileUploader_Uploaded event
Question asked by Naveen - 2/19/2025 at 1:50 PM
Unanswered
I'm using FileUploader to upload files, and I need to store all uploaded files in a uniquely generated GUID folder per session. Since the Metadata property is not available in FileUploader, I'm trying to pass this GUID dynamically for each upload request. I initially stored the GUID in a session, but I realized this could cause issues if a user opens multiple tabs. I attempted to pass the GUID using a hidden field and attach it via JavaScript in the onFileUploading event, but I need to ensure it gets properly sent and securely validated on the server in the FileUploader_Uploaded event. How can I reliably pass this GUID so that each uploaded file is stored in the correct session-based folder while preventing users from modifying the folder ID or exploiting the upload process?

Reply to Thread