Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Count the users

    How could I count the users logged into my W2k server and display the result
    on a web page?
    Thanks


    Bite My Bubbles Guest

  2. Similar Questions and Discussions

    1. Users Count in flash media server
      hello i have made an application that sreaming online video and sound, all is work good now i want to get the users that listen to my application...
    2. License.Limit.Exceeded with 4x150 users licence andonly 300 real users
      As indicated by the ongoing discussion, this issue can have different causes - can you describe your application a little bit? How many users are...
    3. License.Limit.Exceeded with 4x150 users licence and only300 real users
      We have 4x150 users licence, set to unlimited bandwith. We get these messages in event viewer: Connection rejected by server. Reason : :...
    4. select all users whose emails belong to two or more users
      Say I wanted to create a query to select all the users whose emails belong to two or more users. How would I go about doing this? Here's what I...
    5. Enable additional users properties in Active Directory users and Computers
      "Mike Brannigan " <mikebran@online.microsoft.com> wrote in message news:O5qGXY1XEHA.808@tk2msftngp13.phx.gbl......
  3. #2

    Default Re: Count the users

    Logged in in what way? Terminal Services session? Active domain logins?
    Logged in in a web app?

    Ray at home

    "Bite My Bubbles" <bmb@mybubbles.com> wrote in message
    news:#OnX3N#eDHA.2464@TK2MSFTNGP09.phx.gbl...
    > How could I count the users logged into my W2k server and display the
    result
    > on a web page?
    > Thanks
    >
    >

    Ray at home Guest

  4. #3

    Default Re: Count the users

    Logged into active domain..
    What is the default meaning when someone says "logged into the server"?
    Terminal Services? No, although a common practice, logging in thru terminal
    services is still rare enough that one would rightfully expect that the term
    would be used if Terminal Services were part of the scenario.
    Web App? No, that would be called "logging into the website". Since we are
    discussing web apps, and since web apps use a server that can be logged
    into, it is acceptable to stumble but not fall on this one. But since the
    term "Server" was used, trumped is any possiblity that we are talking
    logging into a mere Web App, because along with the term "server" comes the
    baggage of years traditional , historical meaning of the word server in the
    context of "logging on."
    Thus * logging into a domain "server" * is by far the most likely, and in
    fact the most commonly used way to describe the act to which I refer. And,
    as it turns out, * logging into a domain "server" * actually was what I was
    referring to.
    In the end, to refer to any other act as "logging into the server" , would
    be malaproptic, synonistically depleted, and in a canonical way, stubbornly
    asphorent.





    "Ray at home" <myfirstname at lane 34 . komm> wrote in message
    news:OCCV0i%23eDHA.2344@TK2MSFTNGP10.phx.gbl...
    > Logged in in what way? Terminal Services session? Active domain logins?
    > Logged in in a web app?
    >
    > Ray at home
    >
    > "Bite My Bubbles" <bmb@mybubbles.com> wrote in message
    > news:#OnX3N#eDHA.2464@TK2MSFTNGP09.phx.gbl...
    > > How could I count the users logged into my W2k server and display the
    > result
    > > on a web page?
    > > Thanks
    > >
    > >
    >
    >

    Bite My Bubbles Guest

  5. #4

    Default Re: Count the users

    Hey,

    a) "Thus * logging into a domain "server" * is by far the most likely"
    Well, for starters, you don't "login to a domain server" - you authenticate
    against a Domain Controller, and you log into the Domain.

    b) Web App? No, that would be called "logging into the website".
    Well, not if you are using some kind of Windows Authentication - since
    they'd be authenticated against the DC's SAM, and they'd be using up a
    Client Access Licence. How is this different from authenticating from a
    Windows shell?

    c) "Terminal Services? No, although a common practice, logging in thru
    terminal services is still rare enough that one would rightfully expect that
    the term would be used if Terminal Services were part of the scenario."
    Frankly, since when were you the judge of what is "common" and what isn't?

    You weren't *clear* in your first post, and so someone asked you want you
    wanted. You still haven't defined exactly what constitutes a "logon", and
    what constitutes a "logoff" (for example, you still haven't told us whether
    you have a domain, or not, and whether you want to see how many people are
    connected to a server, or how many people are authenticated or what).
    Suppose someone's connected through to Exchange 5.5 - how many "logons" does
    that constitute?

    Be precise in your requirements, and you're likely to get an answer that may
    be useful. If you want to be a smart-arse, then you probably won't get any
    help at all.

    Cheers
    Ken



    "Bite My Bubbles" <bmb@mybubbles.com> wrote in message
    news:uWcoWUAfDHA.2408@TK2MSFTNGP09.phx.gbl...
    : Logged into active domain..
    : What is the default meaning when someone says "logged into the server"?
    : Terminal Services? No, although a common practice, logging in thru
    terminal
    : services is still rare enough that one would rightfully expect that the
    term
    : would be used if Terminal Services were part of the scenario.
    : Web App? No, that would be called "logging into the website". Since we
    are
    : discussing web apps, and since web apps use a server that can be logged
    : into, it is acceptable to stumble but not fall on this one. But since the
    : term "Server" was used, trumped is any possiblity that we are talking
    : logging into a mere Web App, because along with the term "server" comes
    the
    : baggage of years traditional , historical meaning of the word server in
    the
    : context of "logging on."
    : Thus * logging into a domain "server" * is by far the most likely, and in
    : fact the most commonly used way to describe the act to which I refer. And,
    : as it turns out, * logging into a domain "server" * actually was what I
    was
    : referring to.
    : In the end, to refer to any other act as "logging into the server" , would
    : be malaproptic, synonistically depleted, and in a canonical way,
    stubbornly
    : asphorent.
    :
    :
    :
    :
    :
    : "Ray at home" <myfirstname at lane 34 . komm> wrote in message
    : news:OCCV0i%23eDHA.2344@TK2MSFTNGP10.phx.gbl...
    : > Logged in in what way? Terminal Services session? Active domain
    logins?
    : > Logged in in a web app?
    : >
    : > Ray at home
    : >
    : > "Bite My Bubbles" <bmb@mybubbles.com> wrote in message
    : > news:#OnX3N#eDHA.2464@TK2MSFTNGP09.phx.gbl...
    : > > How could I count the users logged into my W2k server and display the
    : > result
    : > > on a web page?
    : > > Thanks


    Ken Schaefer Guest

  6. #5

    Default Re: Count the users

    Nice.
    set cnt=-1 & for /f "skip=4" %j in ('net session') do (set /a cnt=cnt+1)
    You could execute that and retreive the value of %cnt% to get the number of
    /sessions/. As Ken said, there is no "logging in to a server" in the way
    you mean. There is authentication by the server.

    Ray at work

    "Bite My Bubbles" <bmb@mybubbles.com> wrote in message
    news:uWcoWUAfDHA.2408@TK2MSFTNGP09.phx.gbl...
    > Logged into active domain..
    > What is the default meaning when someone says "logged into the server"?
    > Terminal Services? No, although a common practice, logging in thru
    terminal
    > services is still rare enough that one would rightfully expect that the
    term
    > would be used if Terminal Services were part of the scenario.
    > Web App? No, that would be called "logging into the website". Since we
    are
    > discussing web apps, and since web apps use a server that can be logged
    > into, it is acceptable to stumble but not fall on this one. But since the
    > term "Server" was used, trumped is any possiblity that we are talking
    > logging into a mere Web App, because along with the term "server" comes
    the
    > baggage of years traditional , historical meaning of the word server in
    the
    > context of "logging on."
    > Thus * logging into a domain "server" * is by far the most likely, and in
    > fact the most commonly used way to describe the act to which I refer. And,
    > as it turns out, * logging into a domain "server" * actually was what I
    was
    > referring to.
    > In the end, to refer to any other act as "logging into the server" , would
    > be malaproptic, synonistically depleted, and in a canonical way,
    stubbornly
    > asphorent.
    >
    >
    >
    >
    >
    > "Ray at home" <myfirstname at lane 34 . komm> wrote in message
    > news:OCCV0i%23eDHA.2344@TK2MSFTNGP10.phx.gbl...
    > > Logged in in what way? Terminal Services session? Active domain
    logins?
    > > Logged in in a web app?
    > >
    > > Ray at home
    > >
    > > "Bite My Bubbles" <bmb@mybubbles.com> wrote in message
    > > news:#OnX3N#eDHA.2464@TK2MSFTNGP09.phx.gbl...
    > > > How could I count the users logged into my W2k server and display the
    > > result
    > > > on a web page?
    > > > Thanks
    > > >
    > > >
    > >
    > >
    >
    >

    Ray at Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139