This may sound like a silly question, but what is the appropriate way to
handle form double submitting in ASP.NET. Page expiration, etc? I am
looking for a way to handle this in some cetral point of the application
without affecting the web page implementation.
Thanks,
Nacho 4 1590
There's actually a new gadget from thinkgeek.com that installs as an ActiveX
component into your webpage that once they click the submit button it reaches
out and dismembers the user's primary index finger. It works like a charm ;)
Seriously, though, the best two approaches I've seen are 1) Education. Teach
people that this is how the infrastructure works. Let them know they'll be
charged twice on their creditcard or they'll do the transfer of funds twice.
Failing that 2) Use javascript to disable or hide the submit button upon
clicking it.
-Brock
DevelopMentor http://staff.develop.com/ballen This may sound like a silly question, but what is the appropriate way to handle form double submitting in ASP.NET. Page expiration, etc? I am looking for a way to handle this in some cetral point of the application without affecting the web page implementation.
Thanks, Nacho
Maybe thinkgeek.com need to implement this for Mozilla too ;)
Back to the problem, I thought about such approaches, but it's very
important to resolve the problem back on the server-side. I will not sleep
well if I rely on the browser for this and also it does not secures the
app from replay attacks.
/Nacho
On Fri, 08 Apr 2005 05:36:28 -0700, Brock Allen <ba****@NOSPAMdevelop.com>
wrote: There's actually a new gadget from thinkgeek.com that installs as an ActiveX component into your webpage that once they click the submit button it reaches out and dismembers the user's primary index finger. It works like a charm ;)
Seriously, though, the best two approaches I've seen are 1) Education. Teach people that this is how the infrastructure works. Let them know they'll be charged twice on their creditcard or they'll do the transfer of funds twice. Failing that 2) Use javascript to disable or hide the submit button upon clicking it.
-Brock DevelopMentor http://staff.develop.com/ballen This may sound like a silly question, but what is the appropriate way to handle form double submitting in ASP.NET. Page expiration, etc? I am looking for a way to handle this in some cetral point of the application without affecting the web page implementation. Thanks, Nacho
Does IE not have an option to detect accidental double clicks or is that
Windows Explorer, I forget :S
MattC
"Nacho Nachev" <do**@spam.me> wrote in message
news:op**************@nnachev.sofia.wizcom.bg... Maybe thinkgeek.com need to implement this for Mozilla too ;)
Back to the problem, I thought about such approaches, but it's very important to resolve the problem back on the server-side. I will not sleep well if I rely on the browser for this and also it does not secures the app from replay attacks.
/Nacho
On Fri, 08 Apr 2005 05:36:28 -0700, Brock Allen <ba****@NOSPAMdevelop.com> wrote:
There's actually a new gadget from thinkgeek.com that installs as an ActiveX component into your webpage that once they click the submit button it reaches out and dismembers the user's primary index finger. It works like a charm ;)
Seriously, though, the best two approaches I've seen are 1) Education. Teach people that this is how the infrastructure works. Let them know they'll be charged twice on their creditcard or they'll do the transfer of funds twice. Failing that 2) Use javascript to disable or hide the submit button upon clicking it.
-Brock DevelopMentor http://staff.develop.com/ballen This may sound like a silly question, but what is the appropriate way to handle form double submitting in ASP.NET. Page expiration, etc? I am looking for a way to handle this in some cetral point of the application without affecting the web page implementation. Thanks, Nacho
Then the only other thing is to track the last time the user posted to the
page. You could even make it more elaborate and track it based upon the values
in the form. In any event, it will be something you build yourself unless
you can find something that already does this.
-Brock
DevelopMentor http://staff.develop.com/ballen Maybe thinkgeek.com need to implement this for Mozilla too ;)
Back to the problem, I thought about such approaches, but it's very important to resolve the problem back on the server-side. I will not sleep well if I rely on the browser for this and also it does not secures the app from replay attacks.
/Nacho
On Fri, 08 Apr 2005 05:36:28 -0700, Brock Allen <ba****@NOSPAMdevelop.com> wrote:
There's actually a new gadget from thinkgeek.com that installs as an ActiveX component into your webpage that once they click the submit button it reaches out and dismembers the user's primary index finger. It works like a charm ;)
Seriously, though, the best two approaches I've seen are 1) Education. Teach people that this is how the infrastructure works. Let them know they'll be charged twice on their creditcard or they'll do the transfer of funds twice. Failing that 2) Use javascript to disable or hide the submit button upon clicking it.
-Brock DevelopMentor http://staff.develop.com/ballen This may sound like a silly question, but what is the appropriate way to handle form double submitting in ASP.NET. Page expiration, etc? I am looking for a way to handle this in some cetral point of the application without affecting the web page implementation. Thanks, Nacho This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: dogu |
last post by:
Noob alert.
Code is below.
File is saved as a .php.
What I'm trying to do:
User uses 'select' box drop down list to pick a value.
Value ($site) is derived from a db query. This works fine....
|
by: Display Name |
last post by:
the customer I'm developing a site for uses a canned form-parsing page that
allows her to have an email subscription opt-in page add emails to a list
she can manage using a link that you point your...
|
by: G4Gun |
last post by:
Hi,
I have a form in which I have this link :- <
href="javascript:submitform(parameters );"> . In the JavaScript
function submitform, there is the code for submitting the form.Thi
works fine with...
|
by: Altramagnus |
last post by:
I have 30 - 40 type of different window.
For each type I need about 20 instances of the window.
When I try to create them, I get "Error creating window handle"
My guess is there is a maximum...
|
by: rich |
last post by:
I am building an app using php and postgresql. My questionis this.
How do you handle people wanting to make parallel changes to a record.
Since in web apps you are doing a select, bring over a...
|
by: Drew |
last post by:
I am having an issue with an app that I built, it seems that Request.Form
doesn't want to work sometimes, and only sometimes. For instance, I got a
call last week about an error, I had the user...
|
by: josephkorn |
last post by:
Hi all.
I have a problem in my website in trying to prevent a user from double submitting the form. I am calling a subroutine from my page_load event that passes in the commandbutton that I want...
|
by: axlq |
last post by:
Situation: User submits a form, gets a page returned. User clicks
the "reload button."
Normal result: Browser asks to confirm re-submitting of the form
data.
That's not what I want. What I...
|
by: Ed Jay |
last post by:
Despite searching the net, I can't find a suitable solution that prevents a
user's double click from submitting a form twice. I'm currently using the
following in a button element:
<input...
|
by: Kemmylinns12 |
last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
|
by: Matthew3360 |
last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it so the python app could use a http request to get...
|
by: AndyPSV |
last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
|
by: Arjunsri |
last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
|
by: Matthew3360 |
last post by:
Hi,
I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
|
by: Carina712 |
last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
|
by: BLUEPANDA |
last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
|
by: Rahul1995seven |
last post by:
Introduction:
In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
|
by: Ricardo de Mila |
last post by:
Dear people, good afternoon...
I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control.
Than I need to discover what...
| |