This project has moved. For the latest updates, please go here.

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

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

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

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



Dec 17, 2009 at 8: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.