<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div link="blue" vlink="purple" lang="EN-US"><div><span style="font-size: 11pt; color: rgb(31, 73, 125);">
My first reaction is to wonder why you feel you need MapScript
(which leads to the whole issue of thread safety in the first place).&nbsp; I
would be inclined to build your application as I have done others, using the
.NET/C# environment to process Web requests and then compute an appropriate WMS
request to render the map image required.&nbsp; You would use MapServer in
simple CGI/WMS mode, sending HTTP requests for images which you then retrieve
in your C# code and embed in an output page of your design.</span></div></div></blockquote><div><br>Ok I will give an example of functionality. MapScript has map object, shape object, layer object, etc. With using these, it is simple to run query in one layer, get results as shapes and then run query on different layer, create new layer, then get image, i can store map object in application cache in very simple way, etc, etc. 
<br>It is possible in CGI/WMS? If it is tell me how to do it.<br><br><br><br> <br></div><br></div>