Xymon Mailing List Archive search

http session cookies reuse

list Henrik Størner
Tue, 11 Feb 2014 09:01:16 +0100
Message-Id: <user-2424db3c6423@xymon.invalid>

 

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]
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