Active Users

Discussion in 'ASP General' started by Ven, May 1, 2006.

  1. Ven

    Ven Guest

    I need to display information a list of Active users on a web site.

    I can do the count using the global.asa but need to display individual
    information about each "active user" without writing it all to a
    database and then pulling it out again.

    Info I need :

    IP Address - Request.ServerVariables("REMOTE_HOST")
    The page they are on - Request.ServerVariables("SCRIPT_NAME")
    the page they were on - Request.ServerVariables("HTTP_REFERER")

    Can I write this stuff into sessions and call them all out?

    Thanks

    ven
     
    Ven, May 1, 2006
    #1
    1. Advertising

  2. Ven wrote:
    > I need to display information a list of Active users on a web site.
    >
    > I can do the count using the global.asa but need to display individual
    > information about each "active user" without writing it all to a
    > database and then pulling it out again.
    >
    > Info I need :
    >
    > IP Address - Request.ServerVariables("REMOTE_HOST")
    > The page they are on - Request.ServerVariables("SCRIPT_NAME")
    > the page they were on - Request.ServerVariables("HTTP_REFERER")
    >
    > Can I write this stuff into sessions and call them all out?
    >

    No. You will need to store them in a database, file or Application variable.

    http://www.aspfaq.com/show.asp?id=2491
    http://www.aspfaq.com/show.asp?id=2095

    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.
     
    Bob Barrows [MVP], May 1, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sara rafiee
    Replies:
    3
    Views:
    1,068
    Scott Allen
    Oct 4, 2004
  2. =?Utf-8?B?TGVubg==?=
    Replies:
    2
    Views:
    868
    =?Utf-8?B?TGVvbiBXZWxpY2tp?=
    Oct 19, 2004
  3. Sara rafiee

    Help me in making users/deleting users in active directory

    Sara rafiee, Oct 3, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    387
    Robert Koritnik
    Oct 4, 2004
  4. carlos seramos
    Replies:
    2
    Views:
    493
    carlos seramos
    Aug 1, 2003
  5. Wilmer Hernandez
    Replies:
    4
    Views:
    464
    Wilmer Hernandez
    Aug 20, 2007
Loading...

Share This Page