Ok Lorenzo, here's a little background about my work:<br><br>The user has the browser's screen divided in two parts. at the left has a table with different variables, one on each column (all are alphanumeric data). At the right the map. <br>
I've developed a java class that depending on the column of this table the user choose (population, surface, deaths ...), rewrites the mapfile. That means that the layer and its geometries are always the same, but not the colours, that change in function of the values of the variable represented. <br>
The problem is that with the cache I can represent the first variable in the map without problems, but at this point the map becomes static. When I try to represent the second variable, I see the map of the first, I think is normal because the layer is exactly the same (name etc) except by the colours that are different. <br>
If I turn off the cache, the mapfile is forced to rewrite the layer with new images, and it seems to be a solution, maybe not the best :).. in fact, there's another way forcing ka-map in order to rewrite the images of the layer??<br>
<br>Sorry for this large e-mail, and thanks everyone!<br><br><div class="gmail_quote">2008/5/17 Lorenzo Becchi <<a href="mailto:lorenzo@ominiverdi.com">lorenzo@ominiverdi.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
it's not clear to me what's the link between the caching system and the query system.<br>
<br>
what kind of query are you doing?<br>
<br>
<br>
<br>
Emilio Ponce wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
Hello,<br>
<br>
I'm finishing a web application that uses ka-map, and I have one problem:<br>
<br>
The application generates dinamically the code of a unique mapfile, in function of the user queries. My problem is the ka-map cache system, and the browser cache too(mozilla firefox). I have to find the way to deactivated the two caching systems because if I do only one query, it works ok, but the next queries show the map of the first (do not refresh).<br>
<br>
Tranks!<br>
<br>
-- <br>
Emilio<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
ka-Map-users mailing list<br>
<a href="mailto:ka-Map-users@lists.maptools.org" target="_blank">ka-Map-users@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/ka-map-users" target="_blank">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>
<br>
</blockquote>
</blockquote></div><br><br clear="all"><br>-- <br>Emilio