[Mapserver-users] Storing database connections in a CGI session
Norman Vine
nhv@cape.com
Wed, 10 Dec 2003 09:06:51 -0500
Jan Hartmann writes:
>
> Frank Warmerdam wrote:
> >
> > There is already some connection caching logic in MapServer. It was
> > primarily aimed at allowing reuse of a session within one map rendering.
> > For instance, for when several layers come from the same database.
> >
>
> For MapServer CGI this is much harder (where would the CONNECTION point
> to in a system-independent way?). Frank's FastCGI approach looks
> promising, but also reasonably difficult to implement. Does anyone have
> any comments on the feasibility/possibility of expanding the CONNECTION
> keyword for the script versions only?
For Python at least SCGI < A Simple Common Gateway Interface alternative >
http://www.mems-exchange.org/software/scgi/
works for me in my Quixote based apps
http://www.mems-exchange.org/software/quixote/
I would think that the 'technique' should port to other languages
HTH
Norman
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users