<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi Ralph,<br>
      <br>
      I succeeded partly with curl (and finally with Xymon's build in
      http test). Partly because the login process I wanted to test
      turned out to be a serie of redirects where different data is
      created dynamically and transferred in hidden forms and tags. That
      was the real problem, not the cookie. I content myself now with
      checking the first part of this process, better than nothing.
      Thank you for helping,<br>
      <br>
      kind regards<br>
      Rolf<br>
      <br>
    </div>
    <blockquote
cite="mid:CAAEjoCW-xOc1OwWG9R4cTiqET9NXopr1BJGMMLjvap-VQ8xsag@mail.gmail.com"
      type="cite">
      <div dir="ltr">There are (at least) 2 ways to handle this:
        <div><br>
        </div>
        <div style="">1) try "curl -o page.html <a
            moz-do-not-send="true" href="http://server.domain.com">http://server.domain.com</a>",
           then look at page.html to see what it does, and work out
          where to go from there.</div>
        <div style=""><br>
        </div>
        <div style="">2) there's a plugin for Firefox called
          LiveHTTPheaders.  That records all incoming and outgoing
          headers when you go to a web page.  That'll show what gets
          sent back to the server after the initial page discovers that
          cookies work.</div>
        <div style=""><br>
        </div>
        <div style="">It's possible that the initial page doesn't send
          anything back.  It may just give any error if setting a cookie
          fails, rather than allowing you to continue.  If so, you could
          probably use Xymon's http test.  </div>
        <div style=""><br>
        </div>
        <div style="">Ralph Mitchell</div>
        <div style=""><br>
        </div>
        <div style=""><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Tue, Nov 12, 2013 at 1:46 AM, Rolf
          Schrittenlocher <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:schritte@ub.uni-frankfurt.de" target="_blank">schritte@ub.uni-frankfurt.de</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <div>Thank you Ralph, so that'll be the best way,<br>
                kind regards<span class="HOEnZb"><font color="#888888"><br>
                    Rolf<br>
                  </font></span></div>
              <div>
                <div class="h5">
                  <blockquote type="cite">
                    <p dir="ltr">It's very likely the web page has some
                      JavaScript that is executed on loading, to set and
                      read a cookie.  Xymom doesn't do JavaScript, but
                      you can fake it in an ext script using curl. </p>
                    <p dir="ltr">Ralph Mitchell<br>
                    </p>
                    <div class="gmail_quote">On Nov 11, 2013 6:23 AM,
                      "Rolf Schrittenlocher" <<a
                        moz-do-not-send="true"
                        href="mailto:schritte@ub.uni-frankfurt.de"
                        target="_blank">schritte@ub.uni-frankfurt.de</a>>

                      wrote:<br type="attribution">
                      <blockquote class="gmail_quote" style="margin:0 0
                        0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex"> Hi all,<br>
                        <br>
                        I want to test login on an authentification form
                        with http. The requested url checks for the
                        acceptance of cookies. If cookies aren't
                        accepted an error message is returned even if
                        authentification is successful. There is no need
                        to transfer cookies contents, only xymon has to
                        to send the information "yes, cookies accepted"
                        with the http-test to the url. Is that possible?<br>
                        <br>
                        kind regards<br>
                        Rolf<br>
                        <br>
                        -- <br>
                        Mit freundlichen Gruessen<br>
                        Rolf Schrittenlocher<br>
                        <br>
                        Lokales Bibliothekssystem Frankfurt<br>
                        Senckenberganlage 31, 60054 Frankfurt<br>
                        Tel: (49) 69 - 798 28908   Fax: (49) 69 798
                        28817<br>
                        LBS: <a moz-do-not-send="true"
                          href="mailto:lbs-f@mlist.uni-frankfurt.de"
                          target="_blank">lbs-f@mlist.uni-frankfurt.de</a><br>
                        Persoenlich: <a moz-do-not-send="true"
                          href="mailto:schritte@ub.uni-frankfurt.de"
                          target="_blank">schritte@ub.uni-frankfurt.de</a><br>
                        <br>
                        _______________________________________________<br>
                        Xymon mailing list<br>
                        <a moz-do-not-send="true"
                          href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
                        <a moz-do-not-send="true"
                          href="http://lists.xymon.com/mailman/listinfo/xymon"
                          target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
                      </blockquote>
                    </div>
                  </blockquote>
                  <br>
                  <br>
                  <pre cols="72">-- 
Mit freundlichen Gruessen
Rolf Schrittenlocher

Lokales Bibliothekssystem Frankfurt
Senckenberganlage 31, 60054 Frankfurt
Tel: (49) 69 - 798 28908   Fax: (49) 69 798 28817
LBS: <a moz-do-not-send="true" href="mailto:lbs-f@mlist.uni-frankfurt.de" target="_blank">lbs-f@mlist.uni-frankfurt.de</a>
Persoenlich: <a moz-do-not-send="true" href="mailto:schritte@ub.uni-frankfurt.de" target="_blank">schritte@ub.uni-frankfurt.de</a> </pre>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Mit freundlichen Gruessen
Rolf Schrittenlocher

Lokales Bibliothekssystem Frankfurt
Senckenberganlage 31, 60054 Frankfurt
Tel: (49) 69 - 798 28908   Fax: (49) 69 798 28817
LBS: <a class="moz-txt-link-abbreviated" href="mailto:lbs-f@mlist.uni-frankfurt.de">lbs-f@mlist.uni-frankfurt.de</a>
Persoenlich: <a class="moz-txt-link-abbreviated" href="mailto:schritte@ub.uni-frankfurt.de">schritte@ub.uni-frankfurt.de</a> </pre>
  </body>
</html>