Jason,
Why you would want to do that is beyond me (then again, what do I
know?).
The only way I can think of doing this is to call Sleep on the current
thread. You would have to put the thread on hold somehow (if you exit the
processing of the thread, then the response is sent back). The best way to
do this would be through a call to Sleep.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Jason Shohet" <__******@yahoo.com> wrote in message
news:er*************@TK2MSFTNGP11.phx.gbl...
There's common use of setTimeout() in javascript to cause a delay on the
client of an asp.net app.
I'm experimenting w/ a serverside delay. Ie, maybe there's a backend
process that I want to occur 10 seconds after the user hits the button on
the webpage -- not immediatly. Perhaps 1 codebehind function to call
another codebehind function after a 10 second delay. Any ideas if this
can be done?