Would it not be better to use a Transactional scope such that the
folder only gets created if the posting is completed without errors ?
By the same token, the process would get rolled back if errors are
encountered.

On Jun 25, 11:05 pm, gerotica <[email protected]> wrote:
> Hi everybody. I am completly inexperient in Web Development. I am
> writing a Web Site in ASP.NET using Visual Studio 2008. In this
> website user can post some data, tht need to be recorded for future
> use.
> I do that by creating a Session for the user, than create a folder at
> the server with all that posted data. As soon as the user enters the
> posting page, I create that folder. Even if the user doesn't complete
> the posting, the directory stays there. My idea is to use a program
> that keeps always running on the server, to check if those directories
> are valid, removing the not valid ones. What's the best approach to
> create such programs? That keeps always running on the server?
>
> Thanks a lot!

Reply via email to