Click here to Skip to main content
15,891,708 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a web application where I would like the card reader to scan our school's student ID cards and come out with their ID number. Our original system for managing this with the relevant card readers already has it preset to work, however, now I am trying to use the card reader for web browser forms.

I have coded my pages using Classic ASP and have the data linked to a MS Access Database. The card reader I am using is linked to a program application called Campus Online which manages our student ID cards and data. I am using an ACR122U card reader which works perfectly with our Campus Database.

Simply put, I want to be able to first open the homepage where the scan would need to take place. Scan the student ID card with the card reader in which the desired data (Student ID) will appear in the form field and submit. I've been searching for a couple of days now for a solution but there doesn't seem to be any clear answers to this. I am aware of the post at: How to read a mifare 1k card through ACR122U NFC Tag reader connected to local machine in a web application but it has clearly not answered my question on how to integrate the card reader with my web pages. It only shows demos that do not work with my card reader.

If there is any reference of code, online services that are available to do this or a method on how to integrate the ACR122U card reader with web pages, that would be best.

Thanks for the assistance.
Posted
Comments
Homero Rivera 18-Feb-14 23:27pm    
This usually works for me: Most reading devices, e.g. point of sale scanners, perform the reading by actually typing what they read and then 'press' the enter key.
When I tried a barcode scanner on a notepad it read the code and then jumped to the next line (as if using the Enter key).
Try a read on notepad; if it gives you the same result (accurate reading and then jumping to the next line) then you can use the "enter key" in the web form (usually, pressing enter on any control withing a webform will result in a post-get).

1 solution

RFID card readers require client side software to run and process the cards data and are not suitable for web applications unlike barcode scanners which act like usb keyboards.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900