Click here to Skip to main content
15,915,019 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

How can i get login user name which are running in any specific domain.
I am using asp.net 3.5.
eg:-

I m using domain like "parrot.com" and in this domain lots of users are registered.
whenever any user open my url then i want to get that login user name.

plz help me its very urgent

Gautam
Posted
Updated 20-Jun-11 2:32am
v2
Comments
R. Giskard Reventlov 20-Jun-11 7:50am    
Your question is not clear: what do you mean by 'any specific domain'?

check this out:

How to Get Window NT Logged User Name Using ASP.NET[^]

hope this helps :)

for further queries comment here!!
 
Share this answer
 
If you're talking about any website on different domains, the only way I can think of is to make an entry in a database whenever a user logs in or logs out. I would also probably have each web page start a thread as a session variable that periodically updates the database for that user. Then you can check the user record for the age of the last update and if it exceeds some magic number (specified by thread update latency), the user is no longer considered to be logged in.

Go forth and code. It's urgentz.
 
Share this answer
 
v2
If you Google it, you might find some ways to do it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900