Re: a process that will take 30 seconds
From: vMike (MicZhaYel.GeoZrgeY_at_noYandZ.geZwaYrrenZ.com)
Date: 12/02/04
- Next message: vMike: "Re: a process that will take 30 seconds"
- Previous message: Richard Myers: "Re: ASP.Net Worker Process Drops Out Yet Again!"
- In reply to: Antonio Policelli: "a process that will take 30 seconds"
- Next in thread: vMike: "Re: a process that will take 30 seconds"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 1 Dec 2004 22:28:46 -0500
"Antonio Policelli" <blarfoc@yahoo.com> wrote in message
news:624f68b2.0412011351.4f0f4d94@posting.google.com...
> Hello, please tell me how to do this..
> I have a web page that a user can manipulate and work with a database
> object. it is not important what that is but for the user to start on
> a new object, they must request that one be created. with a sql
> server stored procedure, the object takes about 30-45 seconds to
> create itself.
>
> i want to give a user a form and when they click the button the object
> gets created. when this happens, i want the button they just pushed
> to not be pushable again. i would also like a popup window with maybe
> a prograss bar on it or it could just be a light that moves from side
> to side like the black kit car does.
>
> so... how do i make the button unpushable and how do i make the popup
> window come up and run while the object is being created but when the
> object is done the popup goes away or just says "done" and user can
> click "close me"
>
> thank you
One other possible solution is once the use clicks the button you can place
an item in Cache on the server side that is unique to the particular user
(maybe some kind of id at postback) and have it expire in one minute or so.
You can check for the cache item on subsequent clicks and just do nothing if
the item exists in cache. You can also clear the cache item once the process
is complete so subsequent processes from the user get executed.
Mike
- Next message: vMike: "Re: a process that will take 30 seconds"
- Previous message: Richard Myers: "Re: ASP.Net Worker Process Drops Out Yet Again!"
- In reply to: Antonio Policelli: "a process that will take 30 seconds"
- Next in thread: vMike: "Re: a process that will take 30 seconds"
- Messages sorted by: [ date ] [ thread ]