So what you're saying is that if a single request takes longer than 10
seconds you just want GeoServer to not return anything?
Not exactly. My main purpose is to prevent the number of sessions from
exploding. Is it possible for me to maintain just one session for multiple
requests to GeoServer through the use of cookies?
Regards,
Lee Wai See
ST Electronics (Info-Software Systems) Pte Ltd
-----Original Message-----
From: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net] On Behalf Of Chris
Holmes
Sent: Thursday, July 27, 2006 10:42 PM
To: Lee Wai See
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Session timeout for GeoServer
Lee Wai See wrote:
Hi Chris,
What I understand is that whenever a request is sent to GeoServer, there
will be a new session created for GeoServer. How can I set the timeout
for these sessions?You may also consider setting it in your servlet container, that may be
the cleaner way to do it? Note that I think your use of 'session' isn't
quite the way it's generally used, a session is like when you're
navigating a series of web pages, as you're logged in. You seem to be
wanting a timeout for a single response? Or am I reading what you wrote
wrong?You got me right. The reason why I want to do this is that my application
sends requests to GeoServer very frequently where the time between two
requests is 10secs. So the sessions created for each request would build
up
very fast. Is there some workaround for this?
So what you're saying is that if a single request takes longer than 10
seconds you just want GeoServer to not return anything?
Note that if you break the client connection pipe then GeoServer is
smart enough to stop that connection. So that could be one way to go
about it, just make sure the client closes their connection. That will
probably stop it as quickly as anything you could hack in to GeoServer,
since that hack would use the exact same mechanism to stop.
best regards,
Chris
Regards,
Lee Wai See
ST Electronics (Info-Software Systems) Pte Ltd-----Original Message-----
From: Chris Holmes [mailto:cholmes@anonymised.com]
Sent: Thursday, July 27, 2006 4:17 AM
To: Lee Wai See
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Session timeout for GeoServerLee Wai See wrote:
Hi,
Is there any way to set session timeout for GeoServer?
No, not currently. Probably would not be too hard to implement.
What I understand is that whenever a request is sent to GeoServer, there
will be a new session created for GeoServer. How can I set the timeout
for these sessions?You may also consider setting it in your servlet container, that may be
the cleaner way to do it? Note that I think your use of 'session' isn't
quite the way it's generally used, a session is like when you're
navigating a series of web pages, as you're logged in. You seem to be
wanting a timeout for a single response? Or am I reading what you wrote
wrong?Chris
Would greatly appreciate some guidance on this. Thanks a lot.
Regards,
Lee Wai See
ST Electronics (Info-Software Systems) Pte Ltd[This e-mail is confidential and may be priviledged. If you are not the
intended recipient, please kindly notify us immediately and delete themessage
from your system; please do not copy or use it for any purpose, nor
disclose
its contents to any other person. Thank you.]
---ST Electronics Group---------------------------------------------------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to shareyour
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV!DSPAM:1003,44c77362316678365517736!
------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users!DSPAM:1003,44c77362316678365517736!
--
Chris Holmes
The Open Planning Project
http://topp.openplans.org