manishrathi
Programmer
When a request is received by the server for CGI, the parameters it receives are through QUERY_STRING environment variable. So QUERY_STRING is the environment variable for a server and when a request is received, it holds the string that comes with that request. Now, if a second request comes in with different set of parameters and same QUERY_STRING is holding the new values, then string that came with first requst will be lost. Like this , if many request keep coming in, new threads will be opened up to handle each request. But how will all these threads be supplied string values that came with that particular request because QUERY_STRING will be holding the values that came with the last request ?