IceFaces and FileResource - deletion after the end of the session

I am using Icefaces . I create reports for users and provide them using the FileResource class . I am not doing anything with the file, as it should be available for download whenever a user clicks on a link to a resource.

However, after the user logs out of the system, the report is no longer needed and must be deleted. Is there a built-in option in IceFaces to bind FileResource to the session and automatically delete it when the session ends?

+3
source share
1 answer

, , . , , , , .

IceFaces FileUpload , . , IceFaces , , .

+1

Source: https://habr.com/ru/post/1789972/


All Articles