开发者

Get uploadify to work with cookieless session state?

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!


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜