<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Den 2014-02-10 20:22, Cure4All skrev:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">
<div>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.</div>
<div> </div>
<a href="http://lists.xymon.com/archive/2010-June/028208.html">http://lists.xymon.com/archive/2010-June/028208.html</a><br />
<div>
<pre><span style="background-color: #ffffff;"><span style="color: #ff0000;">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? </span> </span>Rey</pre>
</div>
</div>
</blockquote>
<p>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.</p>
<p>The cookies.session file is automatically updated with the cookies that Xymon receives while testing a site.</p>
<p> </p>
<p>Regards,<br />Henrik</p>
<p> </p>
<div> </div>
</body></html>