[Klug-general] Indentifing Local machines on website

Dan Attwood danattwood at gmail.com
Mon Jun 1 20:39:58 UTC 2015


how can I get the IP of the device?
Everything I've tried either gets the IP of the web server or the public IP
of the whole site


On 1 June 2015 at 21:36, Karl Buckland <buckland.karl at gmail.com> wrote:

> 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?
>
> Karl
> On 1 Jun 2015 9:30 pm, "Dan Attwood" <danattwood at gmail.com> wrote:
>
>> I've got 3 student information terminals. They are in one pcs that have
>> card scanner attached to them and run windows.
>> 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.
>> What i'd like to be able to is to log which terminals have been scanned
>> though.
>>
>> I've tried to do this by calling a local file on each terminal but chrome
>> blocks calling files from the c:\ drive.
>> 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.
>>
>> Can anyone think of better for this?
>>
>>
>>
>>
>> _______________________________________________
>> Kent mailing list
>> Kent at mailman.lug.org.uk
>> https://mailman.lug.org.uk/mailman/listinfo/kent
>>
>
> _______________________________________________
> Kent mailing list
> Kent at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/kent
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/kent/attachments/20150601/5502939c/attachment.html>


More information about the Kent mailing list