On Wed, Oct 23, 2013 at 10:04 PM, beldar15 wrote:
> Hi,
>
> I published a WFS and created a WFS Data Store on Geoserver. Everything
> working well until this point.
> The problem is that I feed the WFS with data contained in a session. To
> retrieve the data of this session I need to send, at least the 'session
> id'.
> Is there a way, (please feel free to suggest any other possible solution)
> to
> manipulate the params that Geoserver send to the WFS, in order to send as
> well the session id.
>
Get the org.geoserver.ows.Dispatcher.REQUEST thraed local, get it, if you're
running inside a HTTP request it will contain the HTTPServletRequest, I
believe
you can get cookies and request params out of it, the session id should be
there.
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
---
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users