Question

I have an uploadify control working fine in a vb.net web application - however whenever I switch on cookieless session state in web.config (cookieless="true") - it stops working.

In my upload IHttpHandler I can see that the data stored by uploadify is nothing:

Private Function Process(ByVal context As HttpContext) As String
    Dim File As HttpPostedFile
    File = context.Request.Files("filedata") ' Nothing
    Dim FileExt As String = context.Request("fileExt") ' Nothing, etc
    ...

I'm guessing that the flash isn't honoring the session id in my url? Any ideas on how to keep uploadify working when I turn on cookieless session state? Thanks in advance!

Was it helpful?

Solution

You would have to pass your session ID manually as a parameter.

Find your target script in your uploadify settings, and have your script add the session ID manually to that address.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top