Can u choose a way to do this?
-
I have some(not actually few) html files that contain forms.I have a task to accomplish in this. The task is, i get a string (typed by user while filling the form) and need to do a database lookup (through ODBC) and apply some algorithm(right now it is a dll written in VC++) to convert the data to the required form. The data typed by the user should go through this stage before getting submitted to the server. What I want now is, I am struggling to find the correct way of doing it. Can it be an ActiveX control in VC? Then I need to sign it before using. Can I create a ATL HTML Control? But can other part of html call the function of this control (as like ActiveX)? I need to learn more abt that 'window.external', i suppose. And what else can I do? Thanx in advance, Mahesh
-
I have some(not actually few) html files that contain forms.I have a task to accomplish in this. The task is, i get a string (typed by user while filling the form) and need to do a database lookup (through ODBC) and apply some algorithm(right now it is a dll written in VC++) to convert the data to the required form. The data typed by the user should go through this stage before getting submitted to the server. What I want now is, I am struggling to find the correct way of doing it. Can it be an ActiveX control in VC? Then I need to sign it before using. Can I create a ATL HTML Control? But can other part of html call the function of this control (as like ActiveX)? I need to learn more abt that 'window.external', i suppose. And what else can I do? Thanx in advance, Mahesh
I would be inclined to write an ISAPI DLL. That assumes, of course, that you have access to the server to put such a file in place.
-
I would be inclined to write an ISAPI DLL. That assumes, of course, that you have access to the server to put such a file in place.
Thanx for ur interest, DavidCrow, The ISAPI DLL will be running in Server. right? For every string, (every field of form) it has to goto server and get it done. (U may argue that I need database look-up and its not possible to have that in every client. But this application is for Intranet and i am planning for Oracle server and all the clients connecting through the ODBC) If u assume there is no databse look-up, what would u be inclined to do? Once again, Thank u so much, Mahesh
-
Thanx for ur interest, DavidCrow, The ISAPI DLL will be running in Server. right? For every string, (every field of form) it has to goto server and get it done. (U may argue that I need database look-up and its not possible to have that in every client. But this application is for Intranet and i am planning for Oracle server and all the clients connecting through the ODBC) If u assume there is no databse look-up, what would u be inclined to do? Once again, Thank u so much, Mahesh
Mahesh Perumal wrote: The ISAPI DLL will be running in Server. right? An ISAPI filter is a DLL that runs on an ISAPI-enabled HTTP server to filter data traveling to and from the server. The filter registers for notification of events, such as logging on or URL mapping. When the selected events occur, the filter is called, and you can monitor and change the data (on its way from the server to the client or vice versa). ISAPI filters can be used to provide enhanced logging of HTTP requests (for example, to track who is logging on to your server), custom encryption, custom compression, or additional authentication methods.
-
Mahesh Perumal wrote: The ISAPI DLL will be running in Server. right? An ISAPI filter is a DLL that runs on an ISAPI-enabled HTTP server to filter data traveling to and from the server. The filter registers for notification of events, such as logging on or URL mapping. When the selected events occur, the filter is called, and you can monitor and change the data (on its way from the server to the client or vice versa). ISAPI filters can be used to provide enhanced logging of HTTP requests (for example, to track who is logging on to your server), custom encryption, custom compression, or additional authentication methods.
Thanx DavidCrow, I thought something like "http://myserver/isapilib.dll?str='fieldvalue'" to get the output string. You say that, without changing anything in the html, I can write my isapi dll that will catch all the strings and convert when the form is submitted. right? It seems good in the way that it doesn't require me to change the htmls. I look more into this and get back to u with the progress. Thank u so much, Mahesh