Click here to Skip to main content
15,916,693 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Sqldatacaching Pin
Brij9-Feb-10 22:11
mentorBrij9-Feb-10 22:11 
Questionwhat is equal to servlet context in asp.net [modified] Pin
prasadbuddhika9-Feb-10 17:36
prasadbuddhika9-Feb-10 17:36 
AnswerRe: what is equal to servlet context in asp.net Pin
sashidhar9-Feb-10 18:27
sashidhar9-Feb-10 18:27 
AnswerRe: what is equal to servlet context in asp.net Pin
Brij9-Feb-10 18:36
mentorBrij9-Feb-10 18:36 
GeneralRe: what is equal to servlet context in asp.net Pin
prasadbuddhika9-Feb-10 19:53
prasadbuddhika9-Feb-10 19:53 
GeneralRe: what is equal to servlet context in asp.net [modified] Pin
i gr89-Feb-10 20:24
i gr89-Feb-10 20:24 
GeneralRe: what is equal to servlet context in asp.net Pin
Brij9-Feb-10 20:27
mentorBrij9-Feb-10 20:27 
QuestionHow to deal with time-consuming server operations? Pin
Member 10339079-Feb-10 11:56
Member 10339079-Feb-10 11:56 
Suppose I have a web application which accepts a small amount of data from the client (so the data transfer is not an issue), then performs some very lengthy operation (minutes or tens of minutes) on the server, and returns the result back to the user. My question is - what is the preferred method of dealing with long requests? If I use regular postback, the browser will wait for the response and time out prematurely. Increasing the timeout is not a solution, because I do not want the browser to get stuck and seem unresponsive for so long.
One way I thought of is running the time-consuming operation in another thread. This way the server response is sent immediately, so there is no timeout problem. Then I use periodical page refresh to check if the thread finished its work - it displays either "Please wait" on each negative check or "Finished" with the results. The drawback of this approach is that the time intervals in which I check if the work is done are constant (say 10 secs), so even if the work happened to be very fast (finished immeditely), the user has to wait for at least 10 seconds before the first check requst is sent. Is there any way the server itself can inform when the operation is finished?
Any help regarding this matter is appreciated, I suppose this must be a well-known issue so I'll be happy if you just point me the right way.
H
AnswerRe: How to deal with time-consuming server operations? Pin
Not Active9-Feb-10 14:25
mentorNot Active9-Feb-10 14:25 
AnswerRe: How to deal with time-consuming server operations? Pin
Brij9-Feb-10 18:53
mentorBrij9-Feb-10 18:53 
AnswerRe: How to deal with time-consuming server operations? Pin
i gr89-Feb-10 20:31
i gr89-Feb-10 20:31 
QuestionUnable to load DLL 'LCE.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) Pin
theOzLizard9-Feb-10 11:22
theOzLizard9-Feb-10 11:22 
QuestionJava Script Question Pin
AndyASPVB9-Feb-10 11:11
AndyASPVB9-Feb-10 11:11 
AnswerRe: Java Script Question Pin
Not Active9-Feb-10 11:52
mentorNot Active9-Feb-10 11:52 
GeneralRe: Java Script Question Pin
AndyASPVB9-Feb-10 12:24
AndyASPVB9-Feb-10 12:24 
GeneralRe: Java Script Question [modified] Pin
Not Active9-Feb-10 14:19
mentorNot Active9-Feb-10 14:19 
GeneralRe: Java Script Question Pin
AndyASPVB9-Feb-10 22:13
AndyASPVB9-Feb-10 22:13 
GeneralRe: Java Script Question Pin
Not Active10-Feb-10 1:55
mentorNot Active10-Feb-10 1:55 
QuestionPanels not scrolling Pin
AndyASPVB9-Feb-10 11:10
AndyASPVB9-Feb-10 11:10 
AnswerRe: Panels not scrolling Pin
Not Active9-Feb-10 11:47
mentorNot Active9-Feb-10 11:47 
GeneralRe: Panels not scrolling Pin
AndyASPVB9-Feb-10 11:58
AndyASPVB9-Feb-10 11:58 
GeneralRe: Panels not scrolling Pin
Not Active9-Feb-10 14:14
mentorNot Active9-Feb-10 14:14 
QuestionWhy article not selected for Jan10 competition??? Pin
Sandeep Mewara9-Feb-10 7:13
mveSandeep Mewara9-Feb-10 7:13 
AnswerRe: Why article not selected for Jan10 competition??? Pin
Brij9-Feb-10 7:22
mentorBrij9-Feb-10 7:22 
Questionunable to publish my web application if it contains .mdf & .ldf files [modified] Pin
Satish - Developer9-Feb-10 4:20
Satish - Developer9-Feb-10 4:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.