On Nov 28, 2007 4:00 PM, Alan Bourke <[EMAIL PROTECTED]> wrote: > MB Software Solutions wrote: > > Can you explain that, what you mean when you say "takes away from" ?? > > Are you saying that it's a stark difference in the thought used in > > ASP/ASP.NET designs? > > > > > > Absolutely. You have a Windows (or Linux or whatever) desktop app with a > 'Submit' button for saving changes. User clicks it, the changes are > committed. They can't double click it and submit twice. >
You have a rich client side for display and functionality. Trying to do the same via html, css, cut outs of images for icons that is where it gets to be a RPITA. > > A web app is stateless, although you get lots of things like cookies and > session state to give the illusion of being stateful. So you have a > 'Submit' button that the user sees in their browser, they click it and > it causes a postback to the server and the database update happens. But > there's nothing to stop the user double-clicking it and submitting > twice. You can disable the button with Javascript, but that means all > users have to have Javascript available and turned on. You can use > roundabout methods with session state, cookies and the like to stop it > but it's very tricky to get a solution that works for all combinations > of browsers and so on. > It really isn't a big deal to trap for submitted clicked yet or not. No javascript means no AJAX and that is a big issue now a days. > > Some things like this that are no-brainers in desktop apps are absolute > nightmares in a web app, mainly due to their statelessness. > > [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.