• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Avoiding multiple request at a time

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

Scenario :
In my application, i have the page, contains two buttons like Previous and Next button.

User Action:

[1] User clicks Next button (Submit Action )
[2] Before the response reached the Browser, user clicks previous button.

Issue :
This kind of action some time leads to inconsistant stage.
How to handle the user action, when one request is in processing stage.I don't want to disable the button.

Plz proivde some solution to handle this situation

Regards,
Selva varadhan
 
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how about a javascript method that is called by the onclick handler of the html:submit


this requires the client to have javascript enabled, and that the page to be reloaded between when submits are clicked. (or some other means to reset the formSubmitted flag).
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic