Hi I would like to know if there is any other way using javascript or something to enter the user input directly to database without using POST method.
5 Answers
Yes using the GET method. Over HTTP those are your choices.
1 Comment
Chuck
Also a PUT method. Or DELETE method. Though only POST and PUT make any sense semantically.
If the page is being viewed from a machine that has access to the database, then you can ask javascript to create an instance of the ADO activex objects (anone remember those? mebe I'm showing my age) and then your js code can talk direct to the database. Again, this only works for machines that can hit the db directly (local machine/network).
2 Comments
Bob The Janitor
you have to be running IE to use activeX
Sam Axe
Wow, how very astute Bob. Perhapse you shouldn't quit your day job just yet.