Hi there,
I have question about Tcl-servers. I have a rather simple server that does som file transfers, built on the hand-shake method. My question is this.
Is there some abovious danger of storing information into global variables. And with information I don't mean port and data such paths etc. that is common for all loged on clients.
I.e. I wish to store the process id for a shell command (time demanding) that might be aborted by the client with a new server request. The thing is that the server might have multiple users logged on wishing to do the same things. Will the globals mess upp the entire server?
Most thankfull for any replies and suggestions.
/yodaa
I have question about Tcl-servers. I have a rather simple server that does som file transfers, built on the hand-shake method. My question is this.
Is there some abovious danger of storing information into global variables. And with information I don't mean port and data such paths etc. that is common for all loged on clients.
I.e. I wish to store the process id for a shell command (time demanding) that might be aborted by the client with a new server request. The thing is that the server might have multiple users logged on wishing to do the same things. Will the globals mess upp the entire server?
Most thankfull for any replies and suggestions.
/yodaa