Click here to Skip to main content
15,890,438 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How can you access the Application Attributes via API? Pin
msell015014-Dec-09 7:29
msell015014-Dec-09 7:29 
GeneralRe: How can you access the Application Attributes via API? Pin
Ashfield14-Dec-09 21:01
Ashfield14-Dec-09 21:01 
QuestionA question regarding website design Pin
James Shao14-Dec-09 4:25
James Shao14-Dec-09 4:25 
AnswerRe: A question regarding website design Pin
Abhishek Sur14-Dec-09 5:03
professionalAbhishek Sur14-Dec-09 5:03 
AnswerRe: A question regarding website design Pin
Abhijit Jana14-Dec-09 5:59
professionalAbhijit Jana14-Dec-09 5:59 
AnswerRe: A question regarding website design Pin
James Shao14-Dec-09 12:20
James Shao14-Dec-09 12:20 
QuestionApplication State object is destroyed - Dont know why? Pin
vivasaayi14-Dec-09 1:28
vivasaayi14-Dec-09 1:28 
AnswerRe: Application State object is destroyed - Dont know why? Pin
Abhishek Sur14-Dec-09 3:58
professionalAbhishek Sur14-Dec-09 3:58 
If you are putting the same object in application, I think there shouldnt be any problem.

The code looks fine to create one object only which could handle as many session as you want.

The only possibility of getting more than one connection is if, a client Requests for GetUpdate and its request is placed just before the Application object is set.

I mean, Client 1 requests GetUpdate, which finds that UpdateManager is missing in Application, Meanwhile client 2 makes a request. Client 2 also finds updateManager missing as it is not set to the application object yet.

Thus it starts creating another updateManager.

The possibility is there for everytime the updateManager object is recreated.

Wink | ;)

Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript

GeneralRe: Application State object is destroyed - Dont know why? Pin
N a v a n e e t h14-Dec-09 5:47
N a v a n e e t h14-Dec-09 5:47 
GeneralRe: Application State object is destroyed - Dont know why? Pin
vivasaayi14-Dec-09 18:46
vivasaayi14-Dec-09 18:46 
GeneralRe: Application State object is destroyed - Dont know why? Pin
Abhishek Sur14-Dec-09 22:04
professionalAbhishek Sur14-Dec-09 22:04 
AnswerRe: Application State object is destroyed - Dont know why? Pin
N a v a n e e t h14-Dec-09 5:43
N a v a n e e t h14-Dec-09 5:43 
QuestionCross site Scripting XSS Pin
sachees12314-Dec-09 0:45
sachees12314-Dec-09 0:45 
AnswerRe: Cross site Scripting XSS Pin
SeMartens14-Dec-09 1:23
SeMartens14-Dec-09 1:23 
GeneralRe: Cross site Scripting XSS Pin
sachees12314-Dec-09 18:37
sachees12314-Dec-09 18:37 
AnswerRe: Cross site Scripting XSS Pin
Abhijit Jana14-Dec-09 6:37
professionalAbhijit Jana14-Dec-09 6:37 
QuestionASP.NET Application Development – Tools Pin
Karina.R14-Dec-09 0:39
Karina.R14-Dec-09 0:39 
AnswerRe: ASP.NET Application Development – Tools Pin
SeMartens14-Dec-09 1:25
SeMartens14-Dec-09 1:25 
AnswerRe: ASP.NET Application Development – Tools Pin
Abhijit Jana14-Dec-09 6:01
professionalAbhijit Jana14-Dec-09 6:01 
QuestionWeb 2.0 & JavaScript Framework Pin
Karina.R14-Dec-09 0:21
Karina.R14-Dec-09 0:21 
AnswerRe: Web 2.0 & JavaScript Framework Pin
SeMartens14-Dec-09 1:29
SeMartens14-Dec-09 1:29 
AnswerRe: Web 2.0 & JavaScript Framework Pin
Abhijit Jana14-Dec-09 6:05
professionalAbhijit Jana14-Dec-09 6:05 
QuestionDynamic item template Pin
sekannak14-Dec-09 0:20
sekannak14-Dec-09 0:20 
AnswerRe: Dynamic item template Pin
Dinesh Mani14-Dec-09 0:46
Dinesh Mani14-Dec-09 0:46 
GeneralRe: Dynamic item template Pin
sekannak14-Dec-09 0:59
sekannak14-Dec-09 0:59 

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.