Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Session specific files
#3
(03-24-2018, 07:27 PM)DanielFields Wrote: If you place them in the wwwroot\files folder, or any subfolder under that, they cannot be accessed without creating a session.  You could also export them on-demand into the UserCache.  Doing it that way would make them temporary, and they would get deleted after use.  The UserCache is not accessible through any means but your application.

WebApplication.UserCacheDir gets you a unique folder for each session.

Thanks Daniel for your reply. Do you have any idea if I'm using a separate html page called from withing the IW app is going to have access to these files stored at either wwwroot\files or WebApplication.UserCacheDir?
Reply


Messages In This Thread
Session specific files - by mhammady - 03-24-2018, 07:08 PM
RE: Session specific files - by DanielFields - 03-24-2018, 07:27 PM
RE: Session specific files - by mhammady - 03-24-2018, 07:37 PM
RE: Session specific files - by DanielFields - 03-24-2018, 09:12 PM
RE: Session specific files - by mhammady - 03-30-2018, 07:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)