Displaying active useres (via membership) currently viewing folder

Posted on 2011-04-21
Last Modified: 2012-05-11
Hey guys i have i folder on my website called froum.

 wounderd if there was away in to display how many looged in users where viewing that folder or who they are.

If im unable to do folders could it be done by page?
Question by:runnerjp2005
    LVL 41

    Expert Comment

    That's not exactly easy to do...    Recall that web services are complete asynchronous and don't (normally) retain any "state" information between calls.   So, there's no way for the web service to know when a person navigates away (there isn't anything sent from their browser telling the web server "good bye").

    So, you might just create a small java or ASP.Net applet that logs who whenever a user views the page.  But, I as I described above, it will not be useful in determining who is currently using it (since it can't detect when you go away).

    If you want to persue that approach, let us know and we can help you with a simple "logging" application.

    Author Comment

    That sounds like the best posible solution i suppose the i could always query how many people have viewed that page in the last xx min.

    How would i go bout logging with info within
    LVL 41

    Accepted Solution

    Here is an article that I found...   it might be a bit of overkill, but at least it will point you in the right direction

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    It’s quite interesting for me as I worked with Excel using for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now