Click here to Skip to main content
14,455,289 members
Rate this:
Please Sign up or sign in to vote.
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 25-Jul-14 0:36am
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;
Rate this:
Please Sign up or sign in to vote.

Solution 1

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.
   
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
Rate this:
Please Sign up or sign in to vote.

Solution 3

   
Rate this:
Please Sign up or sign in to vote.

Solution 4

   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100