Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello friends i suppose to display logout message when some one logs with x username and y password in to account (but already some other user logged in with same 'x' username and 'y' password )

Thanking u in advance
Posted
Updated 24-Jul-14 23:36pm
v2
Comments
_Amy 25-Jul-14 5:18am    
Your question is not clear at all. First improve your question and let us know what is your requirement and what you have tried for it.
yedhuvamshi 25-Jul-14 5:44am    
Hello friend i have some what updated my question, plz see once
yedhuvamshi 25-Jul-14 6:19am    
Friends i am getting ::1 for Request.UserHostAddress;

Well, that's up to you - You could store the IP address against the login user id and show that next time.
But actually getting the IP is simple: Request.UserHostAddress[^] returns it.
 
Share this answer
 
Comments
_Amy 25-Jul-14 5:22am    
Correct(y), but in most of the cases it may result as user's ISP IP address.
Member 10603307 25-Jul-14 5:27am    
Can you help me on my latest question KingGriff? (this probably isn't appropriate)
OriginalGriff 25-Jul-14 5:56am    
Sorry, but no.
Two reasons:
1) Blatant attempt to suck up by promoting me to Royalty! :laugh:
2) I know nothing about jsFiddle...
Member 10603307 25-Jul-14 6:05am    
We've gotta do what we've gotta do ;D

Oh well, I thought you might of knew javaScript :B
 
Share this answer
 
 
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