Forum Post: Best Way To Create A Temporary Unique File-name?

  • Thread starter Thread starter OctavioOlguin
  • Start date Start date
Status
Not open for further replies.
O

OctavioOlguin

Guest
Greettinigs. Making appserver app, I need to create temporary file for one process. So I realized that if that process is run by several clients at the "same" time, I need to get a unique temporary file-name for each. What would be best practices at this? Is it practical to name the file as a GUID? Is it portable across file systems? something like USER-ID("database") + string(etime)? I wonder what could we determine as best practices. thanks for your input.

Continue reading...
 
Status
Not open for further replies.
Back
Top