Click here to Skip to main content
15,937,602 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to do web base process it takes around 7 to 10 hours to complete

but some times process get terminated when session get expired or

any communication problem

whats the best solution to make it

I have to do on Web

Have a look at below link for Asp.Net Session Management Information.[^]

This is a common problem with "InProc" Session Management in Asp.Net.

However below is a short but usefull CodeProject article to handle this problem.
Prevent Session Timeout in ASP.NET[^]
Share this answer
Uday P.Singh 5-Nov-11 4:10am    
agree 5+
RaisKazi 5-Nov-11 4:14am    
Thank you Uday. :)
Share this answer
We need to get session alive for till your process get complete

check link[^]
Share this answer
setting up session never expires is a very bad way of programming

Session will remain active for long if you give long session time out.
when the user closes the browser and if he login again another new session will open and in that way your memory will be full.

Session Time out is the way to clear memory when user closes the browser, if you still need long session time out set the time as n minutes(ie,big number)

Still you can set it through setting timeout property in web.config
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900