Click here to Skip to main content
15,881,600 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: web controls Pin
Not Active11-Nov-11 7:44
mentorNot Active11-Nov-11 7:44 
GeneralRe: web controls Pin
Dennis E White11-Nov-11 12:23
professionalDennis E White11-Nov-11 12:23 
Questionhow to generate id to every click on save button. Pin
raiskhanshab11-Nov-11 4:28
raiskhanshab11-Nov-11 4:28 
AnswerRe: how to generate id to every click on save button. Pin
Not Active11-Nov-11 5:21
mentorNot Active11-Nov-11 5:21 
QuestionHow to determine if any users are currently viewing website? Pin
Goalie3511-Nov-11 3:43
Goalie3511-Nov-11 3:43 
AnswerRe: How to determine if any users are currently viewing website? Pin
Dennis E White11-Nov-11 5:46
professionalDennis E White11-Nov-11 5:46 
GeneralRe: How to determine if any users are currently viewing website? Pin
Not Active11-Nov-11 7:35
mentorNot Active11-Nov-11 7:35 
GeneralRe: How to determine if any users are currently viewing website? Pin
Dennis E White11-Nov-11 12:36
professionalDennis E White11-Nov-11 12:36 
for knowing when things start the best approach then would be to possibly tie it into the Application_Start method in the Global.asax.

However knowing when they have left your sight will have to be tied into the page unLoad event. the problem with that approach is that leaving a page doesn't mean leaving the application, as you could just be leaving for another page in the application. this was why I tied into the page onLoad event but you are right there are other approaches. much like skinning a cat there is always more than one to do it. Big Grin | :-D

Another approach maybe....

Tie into the Application_Start and then have an interval on your pages so that every so many seconds (configurable) a web method is called updating the fact that the user is still on your web page. Many moons ago in this very galazy I worked on a web based chat application that did something very similar.
as if the facebook, twitter and message boards weren't enough - blogged

GeneralRe: How to determine if any users are currently viewing website? Pin
Not Active11-Nov-11 13:34
mentorNot Active11-Nov-11 13:34 
GeneralRe: How to determine if any users are currently viewing website? Pin
Dennis E White12-Nov-11 4:55
professionalDennis E White12-Nov-11 4:55 
AnswerRe: How to determine if any users are currently viewing website? Pin
Not Active11-Nov-11 7:39
mentorNot Active11-Nov-11 7:39 
Questionuse dropdown list control Pin
sc steinhayse11-Nov-11 1:54
sc steinhayse11-Nov-11 1:54 
AnswerRe: use dropdown list control Pin
Not Active11-Nov-11 2:26
mentorNot Active11-Nov-11 2:26 
GeneralRe: use dropdown list control Pin
sc steinhayse11-Nov-11 3:44
sc steinhayse11-Nov-11 3:44 
GeneralRe: use dropdown list control Pin
Not Active11-Nov-11 3:58
mentorNot Active11-Nov-11 3:58 
Questionsetting up start up page Pin
MalarGayu10-Nov-11 14:22
MalarGayu10-Nov-11 14:22 
AnswerRe: setting up start up page Pin
Anuj Banka10-Nov-11 18:13
Anuj Banka10-Nov-11 18:13 
AnswerRe: setting up start up page Pin
Dennis E White10-Nov-11 18:18
professionalDennis E White10-Nov-11 18:18 
GeneralRe: setting up start up page Pin
MalarGayu10-Nov-11 19:27
MalarGayu10-Nov-11 19:27 
Questionclass Pin
byka10-Nov-11 2:42
byka10-Nov-11 2:42 
AnswerRe: class Pin
Morgs Morgan10-Nov-11 3:05
Morgs Morgan10-Nov-11 3:05 
AnswerRe: class Pin
Dennis E White10-Nov-11 4:39
professionalDennis E White10-Nov-11 4:39 
Questionboarders in grid view Pin
DhivyaThangavel9-Nov-11 22:18
DhivyaThangavel9-Nov-11 22:18 
AnswerRe: boarders in grid view Pin
Richard MacCutchan9-Nov-11 22:24
mveRichard MacCutchan9-Nov-11 22:24 
AnswerRe: boarders in grid view Pin
Dennis E White10-Nov-11 4:37
professionalDennis E White10-Nov-11 4:37 

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.