Click here to Skip to main content
15,913,055 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Access input hidden value of a usercontrol in another usercontrol Pin
Technobizz23-Apr-09 3:43
Technobizz23-Apr-09 3:43 
GeneralRe: Access input hidden value of a usercontrol in another usercontrol Pin
Nyoti Rukadikar23-Apr-09 4:18
Nyoti Rukadikar23-Apr-09 4:18 
GeneralRe: Access input hidden value of a usercontrol in another usercontrol Pin
Technobizz23-Apr-09 8:36
Technobizz23-Apr-09 8:36 
QuestionDevelop Library like SCRIBD or Google Books Pin
abthea22-Apr-09 23:27
abthea22-Apr-09 23:27 
AnswerRe: Develop Library like SCRIBD or Google Books Pin
Ashfield23-Apr-09 1:52
Ashfield23-Apr-09 1:52 
QuestionGet online users count and registered users count ( How wrong is my logic ? #1 ) Pin
Hristiyan22-Apr-09 23:06
Hristiyan22-Apr-09 23:06 
AnswerRe: Get online users count and registered users count ( How wrong is my logic ? #1 ) Pin
SeMartens23-Apr-09 0:33
SeMartens23-Apr-09 0:33 
GeneralRe: Get online users count and registered users count ( How wrong is my logic ? #1 ) Pin
Hristiyan23-Apr-09 1:43
Hristiyan23-Apr-09 1:43 
Thank you for your answer !
My oppinion (I'm not saying it's correct.... it's just what i think) :

1. Assume i have 100 000 users. SELECT COUNT(*) "count every time all the users when that statement is executed". Thats some really big unnecessary weight over the SQL server. I don't think thats the right approach.

2. I think that logic is incorrect. You don't increment and decrement the the online users when the Session_Start and Session_End. Assume that the user closes the browser. The logic fails there - it will actually count that user as online.

3. I think that logic is incorrect. You cannot query the database with that unnecessary logic weight every time there is a postback. That will make a segnificant performance loss.

I store the session info in the database, because it's needed for other purposes too. However i update it every time a user makes a postback and purge the expired data every 10 minutes.

Please give advices.
Best wishes , Hristiyan !
GeneralRe: Get online users count and registered users count ( How wrong is my logic ? #1 ) Pin
SeMartens23-Apr-09 2:53
SeMartens23-Apr-09 2:53 
GeneralRe: Get online users count and registered users count ( How wrong is my logic ? #1 ) Pin
Hristiyan23-Apr-09 3:28
Hristiyan23-Apr-09 3:28 
GeneralRe: Get online users count and registered users count ( How wrong is my logic ? #1 ) Pin
SeMartens23-Apr-09 3:33
SeMartens23-Apr-09 3:33 
QuestionFirst time starting with HTTPS hosting Pin
Nadia Monalisa22-Apr-09 22:44
Nadia Monalisa22-Apr-09 22:44 
QuestionHow to ReFresh a user Control Pin
Vimalsoft(Pty) Ltd22-Apr-09 22:26
professionalVimalsoft(Pty) Ltd22-Apr-09 22:26 
AnswerRe: How to ReFresh a user Control Pin
Deshbir Singh22-Apr-09 23:14
Deshbir Singh22-Apr-09 23:14 
GeneralRe: How to ReFresh a user Control Pin
Vimalsoft(Pty) Ltd22-Apr-09 23:35
professionalVimalsoft(Pty) Ltd22-Apr-09 23:35 
AnswerRe: How to ReFresh a user Control Pin
Nyoti Rukadikar23-Apr-09 0:20
Nyoti Rukadikar23-Apr-09 0:20 
GeneralRe: How to ReFresh a user Control Pin
Vimalsoft(Pty) Ltd23-Apr-09 0:23
professionalVimalsoft(Pty) Ltd23-Apr-09 0:23 
GeneralRe: How to ReFresh a user Control Pin
Nyoti Rukadikar23-Apr-09 1:42
Nyoti Rukadikar23-Apr-09 1:42 
GeneralRe: How to ReFresh a user Control Pin
Vimalsoft(Pty) Ltd23-Apr-09 1:55
professionalVimalsoft(Pty) Ltd23-Apr-09 1:55 
GeneralRe: How to ReFresh a user Control Pin
Nyoti Rukadikar23-Apr-09 2:05
Nyoti Rukadikar23-Apr-09 2:05 
Questionajax tab panel validation Pin
billcodes22-Apr-09 21:34
billcodes22-Apr-09 21:34 
AnswerRe: ajax tab panel validation Pin
SayreCC22-Apr-09 22:19
SayreCC22-Apr-09 22:19 
QuestionImporting contacts from hotmail and aol Pin
Prashant B. Lavate22-Apr-09 20:56
Prashant B. Lavate22-Apr-09 20:56 
AnswerRe: Importing contacts from hotmail and aol Pin
SeMartens22-Apr-09 21:15
SeMartens22-Apr-09 21:15 
GeneralRe: Importing contacts from hotmail and aol Pin
Prashant B. Lavate22-Apr-09 21:57
Prashant B. Lavate22-Apr-09 21:57 

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.