Home All Groups Group Topic Archive Search About

Tell to ASP.Net don't watch some web folders

Author
30 Jan 2006 12:47 PM
Cesar Ronchese
Hello All.

I made a website using VB.Net 2005, and that website have a folder named
"SessionFolders", where I add a temporary folder for each session started,
to write some files. For sample:

    .\SessionFolders\11t1jl45aydbhn55o0cl5fnq\file1.jpg
    .\SessionFolders\cdoh4d55naelvrm11wgl1dzn\file100.doc
    and etcetera..

    (obs: the schema is:   .\SessionFolders\SessionID\Filename.extension)

When the session is logged out, the entire SessionFolder (for example,
"11t1jl45aydbhn55o0cl5fnq" above) should be deleted from the website.

=> The problem is: when a folder is changed, the ASP.Net recompiles itself.
<=

How can I tell to ASP.Net do not recompiles when some folders are changed?

[]s
Cesar

PS.: a other situation needed: wonder if I enable the website to FTP
clients? Any folder created/deleted there will recompile the whole site...

Author
30 Jan 2006 3:43 PM
Andrew Morton
Cesar Ronchese wrote:
> => The problem is: when a folder is changed, the ASP.Net recompiles
> itself. <=
>
> How can I tell to ASP.Net do not recompiles when some folders are
> changed?

Could you put the temporary folders somewhere else? Like D:\Temp\ ?

Andrew
Author
31 Jan 2006 6:47 PM
Cesar Ronchese
Because that folder need be acessible by browser,  after the file is
created. Tt need be shown as a link, using the relative path.

for example: wwww.mysite.com/sessionfolders/dhquyuwqe1iuiuy/file.jpg

.... and after session logs out, must erase the session folders.

And I cant use other site or virtual directory because sometimes I dont have
permission to do it.







Show quoteHide quote
"Andrew Morton" <a**@in-press.co.uk.invalid> wrote in message
news:uiL%23hbbJGHA.3408@TK2MSFTNGP12.phx.gbl...
> Cesar Ronchese wrote:
>> => The problem is: when a folder is changed, the ASP.Net recompiles
>> itself. <=
>>
>> How can I tell to ASP.Net do not recompiles when some folders are
>> changed?
>
> Could you put the temporary folders somewhere else? Like D:\Temp\ ?
>
> Andrew
>