Query on expiration timeout

2 posts, 0 answers
  1. Paul
    Paul avatar
    30 posts
    Member since:
    Mar 2011

    Posted 04 Sep 2014 Link to this post

    I have an application on a site that uses the radasync upload. It is a two part application process. Everyone fills out the first page and upon the answer of a question, it'll load the second page with a certain control. These controls all contain a rad async upload and all have the same temp folder path and have the same expiration timeout. Occasionally, in the error logs I see that some errors come with cannot find file in temp folder. I thought at first i thought that it was the expiration time out was set to 2 hours so i changed all of them to 5 hours, but that did not seem to resolve the issue as I keep receiving these messages. The application does not have a lot of questions so I do not think that it would take long to complete the application and the users should be able to complete the application before the time out expires. Could it be that since all controls are writing to the upload temp folder, that there is conflict?

  2. Hristo Valyavicharski
    Hristo Valyavicharski avatar
    975 posts

    Posted 09 Sep 2014 Link to this post

    Hi Paul,

    The chance to occur file name collision is very rare. Because the current time (in milliseconds) is added before the file name. This is how the temporary file name is formed. Note that all files in the temporary folder are not removed at once. Every file will be removed after the temporary file expiration time after its uploading passes.

    Can you paste your code here, so we can review it.


    Hristo Valyavicharski

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top