12
Views
3
Comments
Solved
[Reactive Multiple File Upload] How to handle multi user upload?
Forge component by José Pedro Proença
5
Published on 16 Jun 2020
Application Type
Reactive

Hi,

How should multi session uploads be handled with this component? If two users are uploading files, how can I make sure that the right files are uploaded for the users. This also concerns the deletion of files.

Thanks,

Menno

mvp_badge
MVP
Rank: #129
Solution

Hi menno,

Do you have any issues related with the concerns that you pointed?

I tested and look at the code and can't find any issue related to what you said.

The list of UploadedFiles is local on the Webblock, so will be only displayed for the user on the session.


The gallery of the files uploaded is filtered by sessionId, so the user only can see your files

I tested these situations with different browsers and PC's and it looks all OK to me.


BR,

Luís

Champion
Rank: #270

HI menno hoogsteen :)

As hinted by Luís Cardoso, you should create a table and associate the fileId with your userId.

Please, feel free to elaborate if you need more help.
José

Rank: #1892

Hi Luis, José

Thanks for the feedback.

Cheers,

Menno