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 ?
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.