• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 240
  • Last Modified:

Displaying active useres (via membership) currently viewing folder

Hey guys i have i folder on my website called froum.

 wounderd if there was away in vb.net 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?
0
runnerjp2005
Asked:
runnerjp2005
  • 2
1 Solution
 
grayeCommented:
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.
0
 
runnerjp2005Author Commented:
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 vb.net?
0
 
grayeCommented:
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

http://vireshvshah.blogspot.com/2009/04/tracking-user-activity.html
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now