Hi - I’m not sure if this is the best way of doing this, so I’m looking for some advise.
This is what I want to do:
1. I need to write to a HTML file using scripting.filesystemobject
2. Then attach it and send it using CDO.Message.
The file will only be temporary, but I need to basically use the same file over again (i don't want to run the risk of creating a file and then deleting it, then finding out at a later date that the file wasn't deleted, and end up with a load file and crashing the web server.)
So my worry is what happens if say 2 users access the page at exactly the same time. Does the file get "locked out" until the file has been written to?
Do I need to write some form of session object so that only one person can view that page at one time?
This is what I want to do:
1. I need to write to a HTML file using scripting.filesystemobject
2. Then attach it and send it using CDO.Message.
The file will only be temporary, but I need to basically use the same file over again (i don't want to run the risk of creating a file and then deleting it, then finding out at a later date that the file wasn't deleted, and end up with a load file and crashing the web server.)
So my worry is what happens if say 2 users access the page at exactly the same time. Does the file get "locked out" until the file has been written to?
Do I need to write some form of session object so that only one person can view that page at one time?