StateServer模式异步文件上传

发布于 2024-08-11 10:48:07 字数 168 浏览 2 评论 0原文

我想实现异步文件上传。

我尝试过 ajax:AsyncFileUpload 控件。仅在进程内模式下才能正常工作。

但我使用的是 StateServer 模式。

有人帮忙吗?

提前致谢。

问候

德巴希斯

I want to implement Asynchronus File Upload.

I've tried ajax:AsyncFileUpload control. It's working fine only with InProc Mode.

But I'm using StateServer Mode.

Any help from anybody?

Thanks in advance.

Regards

Debashis

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

囚你心 2024-08-18 10:48:07

由于 Darin 指出您正在使用的控件存在问题,我认为您需要更改控件选择,使用 AJAX 上传并检查 URL,您会在这里发现很多基于 AJAX 上传的控件

http://ajaxuploader.com/Demo/default.aspx

As the Darin point the issue with the control you are using, I think you need to change your control choice, use AJAX uploaded and check URL, you will find here lot of uploading AJAX based control

http://ajaxuploader.com/Demo/default.aspx

如梦 2024-08-18 10:48:07

AsyncFileUpload 控件尝试将 HttpPostedFile 实例放入会话中。这对于 InProc 会话工作正常,但对于进程外会话会失败,因为这需要用 SerializedAttribute。长话短说:您不能将 InProcAsyncFileUpload 组件一起使用。

AsyncFileUpload control tries to put an HttpPostedFile instance into the session. This works fine with InProc session but will fail with out of process session because this requires the class to be marked with SerializableAttribute. Long story short: you can't use anything else than InProc with the AsyncFileUpload component.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文