<div dir="ltr">Thanks for all your suggestions.<div><br></div><div>I'm going down the cookie route. I'm creating a screen that lets you pick the site and the terminal number and then having that set a non expiring cookie on the machine. I think this is the lesser of several evils.</div><div><br></div><div>Dan</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 June 2015 at 08:50, Mike Evans <span dir="ltr"><<a href="mailto:mike@tandem.f9.co.uk" target="_blank">mike@tandem.f9.co.uk</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">
    Are the IP's static?  If they are dynamically allocated it won't
    help much,<div><div class="h5"><br>
    <br>
    On 01/06/15 21:39, Dan Attwood wrote:
    <blockquote type="cite">
      <div dir="ltr">how can I get the IP of the device?
        <div>Everything I've tried either gets the IP of the web server
          or the public IP of the whole site</div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 1 June 2015 at 21:36, Karl Buckland
          <span dir="ltr"><<a href="mailto:buckland.karl@gmail.com" target="_blank">buckland.karl@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <p dir="ltr">Nothing is going to be full proof. Can you not
              get your site to set a cookie on each terminal and use
              that for I'd?  Or could you use the IPs of each device? </p>
            <p dir="ltr">Karl</p>
            <div class="gmail_quote">
              <div>
                <div>On 1 Jun 2015 9:30 pm, "Dan Attwood"
                  <<a href="mailto:danattwood@gmail.com" target="_blank">danattwood@gmail.com</a>>
                  wrote:<br type="attribution">
                </div>
              </div>
              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div>
                  <div>
                    <div dir="ltr">I've got 3 student information
                      terminals. They are in one pcs that have card
                      scanner attached to them and run windows.
                      <div>They run chrome which has a website. When a
                        student scans their card some jquery passes of
                        to php via ajax shows them their print,
                        timetables etc.</div>
                      <div>What i'd like to be able to is to log which
                        terminals have been scanned though.</div>
                      <div><br>
                      </div>
                      <div>I've tried to do this by calling a local file
                        on each terminal but chrome blocks calling files
                        from the c:\ drive.</div>
                      <div>I could use a different url for each
                        terminal, '?terminal=number1' etc, but this
                        would policies to ensure each terminal called
                        the right url and also the page has a refresh
                        built in and I'm concerned that this might cause
                        an issue. </div>
                      <div><br>
                      </div>
                      <div>Can anyone think of better for this?</div>
                      <div> <br>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                      </div>
                    </div>
                    <br>
                  </div>
                </div>
                _______________________________________________<br>
                Kent mailing list<br>
                <a href="mailto:Kent@mailman.lug.org.uk" target="_blank">Kent@mailman.lug.org.uk</a><br>
                <a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br>
              </blockquote>
            </div>
            <br>
            _______________________________________________<br>
            Kent mailing list<br>
            <a href="mailto:Kent@mailman.lug.org.uk" target="_blank">Kent@mailman.lug.org.uk</a><br>
            <a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Kent mailing list
<a href="mailto:Kent@mailman.lug.org.uk" target="_blank">Kent@mailman.lug.org.uk</a>
<a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a></pre>
    </blockquote>
  </div></div></div>

<br>_______________________________________________<br>
Kent mailing list<br>
<a href="mailto:Kent@mailman.lug.org.uk">Kent@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br></blockquote></div><br></div>