Click here to Skip to main content
15,922,630 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: css / table question Pin
Guffa10-Jul-05 3:01
Guffa10-Jul-05 3:01 
GeneralIIS problem in Windows 2003 Server + SP1. - Urgent Pin
DasdaDAS8-Jul-05 22:01
DasdaDAS8-Jul-05 22:01 
GeneralRe: IIS problem in Windows 2003 Server + SP1. - Urgent Pin
Guffa9-Jul-05 8:30
Guffa9-Jul-05 8:30 
GeneralRe: IIS problem in Windows 2003 Server + SP1. - Urgent Pin
Vasudevan Deepak Kumar10-Jul-05 19:43
Vasudevan Deepak Kumar10-Jul-05 19:43 
QuestionDoes Firefox ignore attachEvent () method? Pin
Monisankar8-Jul-05 5:58
Monisankar8-Jul-05 5:58 
AnswerRe: Does Firefox ignore attachEvent () method? Pin
Scott Serl8-Jul-05 12:32
Scott Serl8-Jul-05 12:32 
GeneralActiveX Pin
vinodraut7-Jul-05 21:35
vinodraut7-Jul-05 21:35 
Generalcounts the number of current visitors Pin
lykazire7-Jul-05 17:10
lykazire7-Jul-05 17:10 
Im using this script in my global.asa file:

<script language="vbscript" runat="server">

Sub Application_OnStart
Application("visitors")=0
End Sub

Sub Session_OnStart
Application.Lock
Application("visitors")=Application("visitors")+1
Application.UnLock
End Sub

Sub Session_OnEnd
Application.Lock
Application("visitors")=Application("visitors")-1
Application.UnLock
End Sub
</script>


Im having a problem on Session_OnEnd event. It doesn't sh0w accurate number of visitors online every time a user logs out. Is there any settings I need to do in my IIS or somewhere else to make my count updated/real time?

I believe that a session ends if session.abandon is executed, but why my system does not subtract visitors every time Session_OnEnd triggered?

Thanks!
GeneralRe: counts the number of current visitors Pin
Tomas Petricek10-Jul-05 0:08
Tomas Petricek10-Jul-05 0:08 
GeneralRe: counts the number of current visitors Pin
lykazire10-Jul-05 21:05
lykazire10-Jul-05 21:05 
GeneralRe: counts the number of current visitors Pin
Tomas Petricek11-Jul-05 0:18
Tomas Petricek11-Jul-05 0:18 
GeneralRe: counts the number of current visitors Pin
Vasudevan Deepak Kumar10-Jul-05 19:45
Vasudevan Deepak Kumar10-Jul-05 19:45 
Generalweb custom control Pin
cmarmr7-Jul-05 16:05
cmarmr7-Jul-05 16:05 
GeneralRe: web custom control Pin
minhpc_bk8-Jul-05 0:25
minhpc_bk8-Jul-05 0:25 
QuestionHTML - What is this called, how do I do it? Pin
code-frog7-Jul-05 11:00
professionalcode-frog7-Jul-05 11:00 
AnswerRe: HTML - What is this called, how do I do it? Pin
sammyl3310-Jul-05 14:30
sammyl3310-Jul-05 14:30 
GeneralRe: HTML - What is this called, how do I do it? Pin
code-frog10-Jul-05 16:44
professionalcode-frog10-Jul-05 16:44 
AnswerRe: HTML - What is this called, how do I do it? Pin
J4amieC10-Jul-05 23:48
J4amieC10-Jul-05 23:48 
Generalpostback Pin
Ahmed Galal7-Jul-05 7:17
Ahmed Galal7-Jul-05 7:17 
GeneralRe: postback Pin
minhpc_bk8-Jul-05 0:28
minhpc_bk8-Jul-05 0:28 
GeneralRe: postback Pin
Ahmed Galal8-Jul-05 0:42
Ahmed Galal8-Jul-05 0:42 
GeneralSuppressing header footer on print. Pin
Member 20953326-Jul-05 20:18
Member 20953326-Jul-05 20:18 
GeneralRe: Suppressing header footer on print. Pin
Guffa7-Jul-05 8:36
Guffa7-Jul-05 8:36 
QuestionBots for online game? Pin
proach6-Jul-05 12:44
proach6-Jul-05 12:44 
GeneralAsp.net + Javascript Combination Pin
just4ulove76-Jul-05 7:28
just4ulove76-Jul-05 7:28 

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.