[mapguide-users] MG PHP query
nclayton
nclayton at gmail.com
Tue Mar 18 09:24:30 EDT 2008
You should be able to grab the session value from $_POST['SESSION'].
If it is not being passed, you will need to make changed so that the value
does get passed.
The source of this variable is in one of the *.templ files you use from the
\MGOS Install Directory\WebServerExtensions\www\viewerfiles\ Folder.
I use framesettaskbar.templ for mine.
Alternatively, if you are calling your query from javascript, you can pass
the session id in the url:
'&SESSION=' + parent.mapFrame.GetSessionId()
Tomas PL wrote:
>
> Hi All,
>
> I've got my MG map (PHP and Appache) and everything is wright.
> I try to build a simple query in PHP (just like Sheboygan sample query but
> much more easiest)
> I need only sign "value" from one layer [buildings] and one field [key],
> just like "search" command but I need value as a list (not input ). List
> with values from field [key].
>
> If some of You have seemless sample, I will be greatfull.
> Regards
> Tom
>
>
>
--
View this message in context: http://www.nabble.com/MG-PHP-query-tp15990995s16610p16121130.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list