Xymon Mailing List Archive search

http session cookies reuse

3 messages in this thread

list Matteo Vadagnini · Wed, 9 Jun 2010 18:04:01 +0200 ·
Hi list.
I noticed that the file server/etc/cookie.session contains the last
session cookies used for http testing via POST (i.e. JSESSIONID), but
it seems that my webapp instantiates a new http session for every
check.
This makes very hard to know the REAL number of http sessions on the
application server and introduces an offset in the statistics.

I searched documentation and mailing list for a way to reuse the
session cookie stored in that file, but found no information.

Is there a way to reuse the same cookie in all the requests?

my bb-hosts content is something like:

123.456.789.10     my.host
post=webapp;http://my.host:8080/webapp/_dwr/call/plaincall/function.dwr;callCount=1&page=/webapp/&httpSessionId=&scriptSessionId=&c0-scriptName=function&c0-methodName=sendEvent&c0-id=0&c0-e1=string:default-web&c0-e2=string:monitoring&c0-e3=string:&c0-param0=Object_Object:{serviceId:reference:c0-e1,key:reference:c0-e2,params:reference:c0-e3}&batchId=1;check[[:space:]]ok
HIDEHTTP


Thanks

Mat
list Cure4All · Mon, 10 Feb 2014 11:22:17 -0800 ·
Hello,  I was wondering if the question below has been answered?  I would
also like to know on how use/re-use cookies for http monitor.  Thank you.

http://lists.xymon.com/archive/2010-June/028208.html
quoted from Matteo Vadagnini

Hi list.
I noticed that the file server/etc/cookie.session contains the last
session cookies used for http testing via POST (i.e. JSESSIONID), but
it seems that my webapp instantiates a new http session for every
check.
This makes very hard to know the REAL number of http sessions on the
application server and introduces an offset in the statistics.

I searched documentation and mailing list for a way to reuse the
session cookie stored in that file, but found no information.

Is there a way to reuse the same cookie in all the requests?Rey
list Henrik Størner · Tue, 11 Feb 2014 09:01:16 +0100 ·
quoted from Cure4All
 

Den 2014-02-10 20:22, Cure4All skrev: 
Hello, I was wondering if
the question below has been answered? I would also like to know on how
use/re-use cookies for http monitor. Thank you. 
http://lists.xymon.com/archive/2010-June/028208.html [1]
quoted from Cure4All
Hi list. I
noticed that the file server/etc/cookie.session contains the last
session cookies used for http testing via POST (i.e. JSESSIONID), but it
seems that my webapp instantiates a new http session for every check.
This makes very hard to know the REAL number of http sessions on the
application server and introduces an offset in the statistics. I
searched documentation and mailing list for a way to reuse the session
cookie stored in that file, but found no information. Is there a way to

reuse the same cookie in all the requests? Rey

Xymon loads a set of
cookies from the file ~xymon/etc/cookies, so you can put any permanent
cookies you want to use into that file. 

The cookies.session file is
automatically updated with the cookies that Xymon receives while testing
a site. 

Regards,
Henrik 

 
Links:
[1]
http://lists.xymon.com/archive/2010-June/028208.html