[mapserver-users] How to access the second database server whenperforming query on the mapserver

Steve Lime Steve.Lime at dnr.state.mn.us
Mon Jul 7 11:39:22 EDT 2008


Look at URL templates. You can do an attribute (mode=itemquery) query
first and then use those results
to format a URL to access the second server. The redirection happens
without the user having to do anything.

Steve

>>> On 7/5/2008 at 4:28 AM, in message
<883324.32985.qm at web30306.mail.mud.yahoo.com>, Larry Wong
<csgwong328 at yahoo.com.hk> wrote:
> Hello List!
> How to access the second database server when performing non-spatial
query 
> on the first server?
> That mean, when user performing a non-spatial query on the mapserver,

> (assume the query results a primary key which is defined in the query

> template), before the mapserver display the query result on browser. 
it 
> redirect to the second database server, perform a second SQL command
using 
> the primary key from the mapserver, and display whatever the
result(s) found 
> in the database server onto the browser.
>  
>  
> Thanks
> 
> _______________________________________
>  YM - 離線訊息
>  就算你沒有上網,你的朋友仍可以留下訊息給你,當你上網時就能立即看到,任何說話都冇走失。
>  http://messenger.yahoo.com.hk


More information about the mapserver-users mailing list