I'm able to submit a form more than once - Please Help!!

V

vidya

Hi,

Thanks in advance.
I'm using JSP,Java and Javascript to code my web page. I am having a
form in the page. On clicking the submit button, the values are getting
inserted into the database. But the problem is, i can click the button
more than once. if i click it 5 times, the same data is getting
inserted 5 times into the data base. Can anybody tell me a solution for
this problem??

Regards,
Vidya
 
V

VK

vidya said:
Hi,

Thanks in advance.
I'm using JSP,Java and Javascript to code my web page. I am having a
form in the page. On clicking the submit button, the values are getting
inserted into the database. But the problem is, i can click the button
more than once. if i click it 5 times, the same data is getting
inserted 5 times into the data base. Can anybody tell me a solution for
this problem??

Regards,
Vidya

Not a JavaScript question.

You may insert hidden input fields with SID (Session ID) and track them
back on the server.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,263
Messages
2,571,064
Members
48,769
Latest member
Clifft

Latest Threads

Top