hi, nochmal,
wie so erh�ht sich jedesmal der Wert um 1, wenn ich die test seite anklicke.
Code glabal.asa:
<script language="VBScript" runat="SERVER">
Sub Session_OnStart()
    Application.Lock

    Application("ConcurrentUsers") = Application("ConcurrentUsers") + 1

   Application.Unlock
End Sub

Sub Session_OnEnd()

    Application.Lock

    Application("ConcurrentUsers") = Application("ConcurrentUsers") - 1

   Application.Unlock

End Sub
</script>

code test.asp:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
 <title>Test Page</title>
</head>

<body>
<p>
This is a simple test page showing all concurrent users as a numeric
value.<br>
<%
Response.Write "Online Users: <b>" &  Application("ConcurrentUsers") &
"</b>"
%>
</p>
</body>
</html>


obwohl Cache und cookies vom ie geleert werden...


| Oft Gefragtes: http://www.aspgerman.com/aspgerman/faq/
| [aspdebeginners] als [email protected] subscribed
| http://www.aspgerman.com/archiv/aspdebeginners/ = Listenarchiv
| Sie knnen sich unter folgender URL an- und abmelden:
| http://www.aspgerman.com/aspgerman/listen/anmelden/aspdebeginners.asp

Antwort per Email an