[Cartoweb-users] Passing a variable between client / server

Oliver Christen oliver.christen at camptocamp.com
Fri May 23 03:58:56 EDT 2008


Hi

http://www.cartoweb.org/doc/misc/plugins_diagram.pdf

http://www.cartoweb.org/cwiki/HowToDisplayOnTheMapAPointFromADatabaseQuery

http://www.cartoweb.org/cwiki/HowToReturnDataFromServerToClient

buildRequest() > initializeRequest($req) > initializeRequest($req) return > initializeResult($serverResult)

regards
Oliver

  ----- Original Message ----- 
  From: Laurent Elzingre 
  To: cartoweb-users at lists.maptools.org 
  Sent: Friday, May 23, 2008 9:07 AM
  Subject: [Cartoweb-users] Passing a variable between client / server


  Hi,

  I'm modifying the cartoweb routing plugin. Passing variables from template to client/server (with $_POST) or the other way around ($smarty->assign) works well. Client side is ClientDemoRouting.php and server side is ServerDemoRouting.php.

  My problem is actually passing variables from the client to the server or the other way around. Is there an easy and smooth way to do it? I'm actually doing it by storing the variables in a sql db on the server side and fetching them on the client side, which of course is not very graceful :)

  Thanks for your help.

   

  Laurent



------------------------------------------------------------------------------


  _______________________________________________
  Cartoweb-users mailing list
  Cartoweb-users at lists.maptools.org
  http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080523/cddde5f4/attachment.html


More information about the Cartoweb-users mailing list