[Xymon] http session cookies reuse

henrik at hswn.dk henrik at hswn.dk
Tue Feb 11 09:01:16 CET 2014


 

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140211/08058367/attachment.html>


More information about the Xymon mailing list