<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear List!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I got the task to implement a web user management 
system where each user can access a customized map server and modify some of the 
map settings.</FONT></DIV>
<DIV><FONT face=Arial size=2>There are different groups and roles in each group. 
Some are local administrators for their groups and can create and modify the 
privileges and the basic settings of the map server for their users. All users 
can modify/customize their own settings and save them in the 
database.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>For this reason I estimate the only way is to solve 
this through a database. Since I am already using PostgreSQL for my PostGIS 
layers, the choice of database is trivial.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The user will have to login before he/she can 
access the system, thus the user is known at loading the map files.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Question: Has anyone created such a system to read 
some (or all) data from a database to memory instead of the map file? If so, how 
could this be done?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Maybe a default map file should be supplied and the 
values replaced with values from the database before the 
"$oApp-&gt;CWCExecute();" call in the .phtml file?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have found several allusions to this topic in the 
forums but never found a real practical help.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I hope somebody can help me with this.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Greetings,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Carlo Trönnberg</FONT></DIV></BODY></HTML>