Click here to Skip to main content
15,918,003 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ASP.net gridview design issue Pin
RanjithLogics31-May-07 18:08
RanjithLogics31-May-07 18:08 
GeneralRe: ASP.net gridview design issue Pin
Sathesh Sakthivel31-May-07 18:15
Sathesh Sakthivel31-May-07 18:15 
GeneralRe: ASP.net gridview design issue Pin
RanjithLogics31-May-07 18:26
RanjithLogics31-May-07 18:26 
GeneralRe: ASP.net gridview design issue Pin
Sathesh Sakthivel31-May-07 18:29
Sathesh Sakthivel31-May-07 18:29 
QuestionSecurity code Pin
ScottZu31-May-07 15:55
ScottZu31-May-07 15:55 
AnswerRe: Security code Pin
Sathesh Sakthivel31-May-07 16:04
Sathesh Sakthivel31-May-07 16:04 
QuestionSession loosing after error happens Pin
J Liang31-May-07 15:13
J Liang31-May-07 15:13 
AnswerRe: Session loosing after error happens Pin
SimulationofSai31-May-07 20:37
SimulationofSai31-May-07 20:37 
I have a feeling that this is not the first time you've posted this. This is not an inherent problem in ASP.NET as far as I know. I've been building sites that use the same principle and work seamlessly for hundreds of users at any given time.

I'm certain that ASP.NET does not crumble to dust for small page errors. But if the error you're getting is serious enough to actually hang the worker thread, then it's quite possible that your sessions will be lost and as a consequence, your application will restart. Check the IIS logs to gain some insight into what's happening behind the scene.

First, do a thorough code review. If that does not solve the problem with sessions,
Do the following.
1. Check the ASP.NET and IIS configuration in your web server.
2. Try to publish your site in a different box and check if the problem recurs.
3. Try running your application in a separate application domain in IIS.

A session is but another object in the heap. I dont know much about GC in IIS application domains and how IIS maintains it's worker threads. If you're using VS 2005, does this problem occur even in the inbuilt web server spawned by VS 2005, or do you face problems only when it's hosted in IIS?

SG
GeneralRe: Session loosing after error happens Pin
J Liang31-May-07 23:09
J Liang31-May-07 23:09 
GeneralRe: Session loosing after error happens Pin
SimulationofSai1-Jun-07 2:55
SimulationofSai1-Jun-07 2:55 
Questionlogin Pin
hoa_nguyen31-May-07 15:08
hoa_nguyen31-May-07 15:08 
AnswerRe: login Pin
Expert Coming31-May-07 15:25
Expert Coming31-May-07 15:25 
AnswerRe: login Pin
Sathesh Sakthivel31-May-07 15:35
Sathesh Sakthivel31-May-07 15:35 
Questionproblem with Request.Url.AbsoluteUri Pin
vbtmikem31-May-07 14:33
vbtmikem31-May-07 14:33 
AnswerRe: problem with Request.Url.AbsoluteUri Pin
Expert Coming31-May-07 14:57
Expert Coming31-May-07 14:57 
GeneralRe: problem with Request.Url.AbsoluteUri Pin
vbtmikem31-May-07 15:01
vbtmikem31-May-07 15:01 
GeneralRe: problem with Request.Url.AbsoluteUri Pin
vbtmikem1-Jun-07 9:29
vbtmikem1-Jun-07 9:29 
GeneralRe: problem with Request.Url.AbsoluteUri Pin
vbtmikem4-Jun-07 7:00
vbtmikem4-Jun-07 7:00 
QuestionDataGrid Postback Problem Pin
Expert Coming31-May-07 11:11
Expert Coming31-May-07 11:11 
QuestionDataGrid and DataBinding question Pin
(Steven Hicks)n+131-May-07 10:56
(Steven Hicks)n+131-May-07 10:56 
AnswerRe: DataGrid and DataBinding question Pin
Fred_Smith31-May-07 12:01
Fred_Smith31-May-07 12:01 
GeneralRe: DataGrid and DataBinding question Pin
(Steven Hicks)n+131-May-07 12:42
(Steven Hicks)n+131-May-07 12:42 
GeneralRe: DataGrid and DataBinding question Pin
Fred_Smith31-May-07 13:56
Fred_Smith31-May-07 13:56 
QuestionDataGridView Row Colors Pin
Kschuler31-May-07 9:56
Kschuler31-May-07 9:56 
AnswerRe: DataGridView Row Colors Pin
Sherin Iranimose31-May-07 17:54
Sherin Iranimose31-May-07 17:54 

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.