EdwardMartinIII
Technical User
I've been tasked to write a web page that collects support information, emails that information (and any attached file using a file dialog), and assigns a Case Number.
I've never used a File control before, so I get to learn that.
The Case Number counter is interesting, though.
The Client would PREFER a sequential case number generated, such as CaseID_xxxxx, where the first case is CaseID_00001, the second one is CaseID_00002, and so forth.
Off the top of my head, I didn't think JS could do that across many clients connecting, so proposed that Case IDs be built (for example) this way: CaseID_[yyyy][mm][dd][hh][mm][ss] and we're simply gambling that no two people will submit a Case at exactly the same second (I could use incremental seconds, I suppose to reduce that chance).
Is there a JS way of grabbing that sort of auto-numbering thing from the web server, or am I looking at something like writing my own Perl script that uses a file sitting on the server to do this?
Thanks!
Edward
"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door
I've never used a File control before, so I get to learn that.
The Case Number counter is interesting, though.
The Client would PREFER a sequential case number generated, such as CaseID_xxxxx, where the first case is CaseID_00001, the second one is CaseID_00002, and so forth.
Off the top of my head, I didn't think JS could do that across many clients connecting, so proposed that Case IDs be built (for example) this way: CaseID_[yyyy][mm][dd][hh][mm][ss] and we're simply gambling that no two people will submit a Case at exactly the same second (I could use incremental seconds, I suppose to reduce that chance).
Is there a JS way of grabbing that sort of auto-numbering thing from the web server, or am I looking at something like writing my own Perl script that uses a file sitting on the server to do this?
Thanks!
Edward
"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door