How to pass data from the web page to multi-file browser

Dec 17, 2009 at 7:04 AM
Edited Dec 17, 2009 at 7:05 AM

Typically, I want to pass the Session.SessionID when the user hit the "upload" button

In other words, from my asp.net default web page to the ProcessRequest(HttpContext context) routine of SilverlightFileUploadWeb namespace in the FileUpload.ashx.cs file.

Thanks

F

Coordinator
Dec 17, 2009 at 7:35 AM

I don't think you need to pass the SessionID. You can just read it (serverside) in the FileUploadFinished() method in the HttpHandler that handles the uploads.

If you do want to pass it, you'll have to get your SessionID to the clientside, set it as a CustomParam in the InitParams and then read it back in the HttpHandler.