Griaule Biometrics

Home » Forums » FINGERPRINT SDK » Other Programming Languages » Serving HTML files provided in example from server
5 replies [Last post]
jdorantes
Offline
Joined: 2012-01-20
Rate this post:
5
Average: 5 (1 vote)
Serving HTML files provided in example from server

Hello guys,

First of, congratulations with your exceptional products. I have been doing some testing of some of them since yesterday and have found they are almost what in the company i work for, are lookig.

Now the issues, hehe...

I have been requested to add some fingerprinting to an intranet site i am developing, the company already has an important number of 4000B-4500B fingerprint readers in place thru all the stores of the chain, in order to validate fingerprints for certain actions in desktop applications. Now the thing is we need to add such ability to happern from Internet Explorer.

I am here because I have gone thru your forums, examples and even video, and i can't make the Javascript-PHP work fully, or at least that is what i think. I explain: I have gone thru all sort of errors, and with the help of your forums and so, i have solved or workarounded... but at this point i am really stuck. The sample enroll.html file works just fine when i open it directly from local drive, but whenever it is served from web server, it doesn't work. No errors, no logo, no image... it just don't do anything. I went thru your video sample in yout tube, and i see you also open the file locally to make it work, i am affraid to ask, but... is this the way it works? have you made it work from a webserver (i mean serving client files from server, which is how it works in real life)?

This is what i have done so far:

- Installed reader drivers.

- Installed digital persona one touch sdk.

- Installed your sdk.

- Registered GrFingerX.dll in server.

- Allowed ActiveX content in internet explorer.

When i open the file in internet explorer like: C:\inetpub\wwwroot\enroll.html it works just fine. (Attachment: GrFingerFromLocal.jpg)

But when i open it like http://localhost/enroll.html it doesn't do anything, no error screening, no nothing. (Attachment: GrFingerFromServer.jpg)

Any ideas?

BTW, my setup is: Windows 7, Internet Explorer 8

Thanks in advance for your advice.

 

jdorantes
Offline
Joined: 2012-01-20
Rate this post:
0
No votes yet

Hello guys,

 

I am so sorry if i have made you waste time... I have it working now... I came by to post this just as an FYI for whomever it might be worth... It all solved by granting access to the writting folder (in my case c:\\grfinger\\teste.bmp) to user IUSR.

 

Cheers!

jdorantes
Offline
Joined: 2012-01-20
Rate this post:
0
No votes yet

BTW,

 

This works for writting the file down, but not for retrieving it... and thus, showing it. This will require a little more work as my web developer expertise indicates i won't ever be able to make this work:

 

    document.getElementById("img").src = "C:\\grfinger\\teste.bmp?ts" + encodeURIComponent( new Date().toString() );   

 
It will need some sort of image reader from the server to be able to work, probably something like:
 
    document.getElementById("img").src = "http:\\localhost\retrieveFPImage?ts" + encodeURIComponent( new Date().toString() );   
 
Or so... but as i don't need to show any images, the example works great so far... 
 
So for now, to dev server to test!! Yey!
 
leticiap
Offline
Joined: 2011-09-01
Rate this post:
0
No votes yet

Dear customer,
We are happy your problem has been resolved.
Any doubt do not hesitate in contact us.

Best regards,

--
Leticia Paiva de Oliveira
Griaule Support Team

jdorantes
Offline
Joined: 2012-01-20
Rate this post:
0
No votes yet

Thanks Leticia,

 

May I ask you about licensing? In order for this web solution to work, the company should buy one of the Fingerprint SDK 2009 Integrator packages? Does that depend on the number of seats or users that would use this digital signing feature? In other words, everyuser would have a copy of the sdk on their PCs?

 

Thanks,

Josue

leticiap
Offline
Joined: 2011-09-01
Rate this post:
0
No votes yet

Dear customer,
That depends of the number of users you wanna have,
To use the fingerprint every user necessarily must have one license in your computer.
You can get more information about lisence with sales setor ,
Please send a email for this address :

Any doubt do not hesitate in contact us.

 

Best regards,

--
Leticia Paiva de Oliveira
Griaule Support Team