Hi Oliver,<div><br></div><div>thanks for the response, looking at the documentation it looks like I could create projects programmatically for users and so have one for each user. The project would need to get its data from a map file unique to the user which I create as part of the main site process, but would I need to recreate the project if the map file were altered e.g. new layers added or layers removed.</div>
<div><br></div><div><br></div><div>Cheers</div><div><br></div><div>Carl<br><div><br></div><div><br><br><div class="gmail_quote">On Fri, Jan 28, 2011 at 1:18 PM, Oliver Christen <span dir="ltr"><<a href="mailto:oliver.christen@camptocamp.com">oliver.christen@camptocamp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff">
<div><font size="2">Hi Carl</font></div>
<div><font size="2"></font> </div>
<div><font size="2">the answer is probably no, not in the way you want to do it
(ie. passing a mapid in the url for example)</font></div>
<div><font size="2">the mapfile is read very very early by Cartoweb and the
consequence is one mapfile is linked to one project.</font></div>
<div><font size="2">so if you want to access more than one mapfile, you need to
have as many projects as you have of mapfiles.</font></div>
<div><font size="2">now it's quite easy to duplicate a project, expecially if the
only thing that change is the project name and the map id.</font></div>
<div><font size="2">and projects can be selected with one parameter in the url for
example: client.php?project=demoPlugins</font></div>
<div><font size="2">but that maybe be a bit more work than what you
want.</font></div>
<div><font size="2"></font> </div>
<div><font size="2">regards</font></div>
<div><font size="2">Oliver</font></div>
<div><font size="2"></font> </div>
<blockquote style="border-left:#000000 2px solid;padding-left:5px;padding-right:0px;margin-left:5px;margin-right:0px">
<div style="font:10pt arial">----- Original Message ----- </div>
<div style="font:10pt arial;background:#e4e4e4"><b>From:</b>
<a title="burnsy@northcountrywoods.co.uk" href="mailto:burnsy@northcountrywoods.co.uk" target="_blank">Carl Burn</a> </div>
<div style="font:10pt arial"><b>To:</b> <a title="Cartoweb-users@lists.maptools.org" href="mailto:Cartoweb-users@lists.maptools.org" target="_blank">Cartoweb-users@lists.maptools.org</a>
</div>
<div style="font:10pt arial"><b>Sent:</b> Friday, January 28, 2011 1:52
PM</div>
<div style="font:10pt arial"><b>Subject:</b> [Cartoweb-users] Cartoweb
beginner question</div>
<div><br></div>Hi,
<div><br></div>
<div>new to cartoweb but not to mapserver. I need to know if the following is
possible with Cartoweb or not. I need to be able to forward users to an
installation of Cartoweb from our site passing with them url parameters (a map
file name) to enable a specific map file to be used on the map server which
will contain a set of layers unique to them.</div>
<div>Is this possible, if so can anyone point me to the docs/how to that would
get me started?</div>
<div><br></div>
<div>Cheers</div>
<div><br></div>
<div>Burnsy</div>
<p>
</p><hr>
<p></p>_______________________________________________<br>Cartoweb-users
mailing
list<br><a href="mailto:Cartoweb-users@lists.maptools.org" target="_blank">Cartoweb-users@lists.maptools.org</a><br><a href="http://lists.maptools.org/mailman/listinfo/cartoweb-users" target="_blank">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a><br>
<p></p></blockquote></div>
</blockquote></div><br></div></div>