Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
Problem with spawning new thread in ASP.NEt
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="n#, post: 1985850"] I have a long running task to be called from an aspx page. My code segment Dim ts As ThreadStart = New ThreadStart(AddressOf runLRProcessAsync) Dim workerThread As Thread = New Thread(ts) workerThread.Name = "LRProcess1" workerThread.Start() Response.Redirect("LRProcessResult.aspx?Refresh=N) Everything works fine when the long running process is really a time consuming operation. But in some cases when the long running process is not really that long, my response.redirect never gets executed. I introduced aritifical slow downs by using Thread.Sleep. But of no use. Please help me. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
Problem with spawning new thread in ASP.NEt
Top