tags:

views:

7

answers:

1

I m working on .net and i have a problem. i want to know the curently online users who are using my website. i know i can do it by using session varialbles but it is nt working ,,,,give me some solution guys,,,

A: 

When user logs in, write it into the database. If you are using ASP.NET membership provider, that info is already written in the aspnet_Users table. You can then just query the database to check for all the logged in users.

vucetica