Click here to Skip to main content
15,891,943 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Impersonation throwing exception Pin
Abhishek Sur20-Sep-09 10:25
professionalAbhishek Sur20-Sep-09 10:25 
GeneralRe: Impersonation throwing exception Pin
vishwjeet20-Sep-09 11:33
vishwjeet20-Sep-09 11:33 
GeneralCookie is not working in IIS 6.0 Pin
prasannadotnet20-Sep-09 6:06
prasannadotnet20-Sep-09 6:06 
QuestionHow to detect the user IP? Pin
Seraph_summer20-Sep-09 4:28
Seraph_summer20-Sep-09 4:28 
AnswerRe: How to detect the user IP? Pin
Parwej Ahamad20-Sep-09 4:40
professionalParwej Ahamad20-Sep-09 4:40 
GeneralRe: How to detect the user IP? Pin
amitraj8220-Sep-09 5:15
amitraj8220-Sep-09 5:15 
GeneralRe: How to detect the user IP? Pin
Seraph_summer20-Sep-09 5:17
Seraph_summer20-Sep-09 5:17 
GeneralRe: How to detect the user IP? Pin
Parwej Ahamad20-Sep-09 5:20
professionalParwej Ahamad20-Sep-09 5:20 
I tried this code on my own PC, it shows the IP: 127.0.0.1

this is obviouly not right. This is not the right IP of my computer.



Hi you are in right direction and it is correct. It alwasy gives IP: 127.0.0.1 because you are requesting from your local machine.

When you will acces you web application via different machine then it will give the correct IP.

Anyway your code is correct.

Parwej Ahamad
ahamad.parwej@gmail.com



GeneralRe: How to detect the user IP? Pin
Seraph_summer20-Sep-09 5:23
Seraph_summer20-Sep-09 5:23 
GeneralRe: How to detect the user IP? Pin
Parwej Ahamad20-Sep-09 5:27
professionalParwej Ahamad20-Sep-09 5:27 
GeneralRe: How to detect the user IP? Pin
Seraph_summer20-Sep-09 5:30
Seraph_summer20-Sep-09 5:30 
GeneralRe: How to detect the user IP? Pin
Parwej Ahamad20-Sep-09 5:32
professionalParwej Ahamad20-Sep-09 5:32 
NewsRe: How to detect the user IP? Pin
Abhishek Sur20-Sep-09 5:31
professionalAbhishek Sur20-Sep-09 5:31 
AnswerRe: How to detect the user IP? Pin
Abhishek Sur20-Sep-09 4:42
professionalAbhishek Sur20-Sep-09 4:42 
GeneralRe: How to detect the user IP? Pin
Seraph_summer20-Sep-09 5:04
Seraph_summer20-Sep-09 5:04 
GeneralRe: How to detect the user IP? Pin
Abhishek Sur20-Sep-09 5:24
professionalAbhishek Sur20-Sep-09 5:24 
GeneralRe: How to detect the user IP? Pin
Seraph_summer20-Sep-09 5:28
Seraph_summer20-Sep-09 5:28 
GeneralRe: How to detect the user IP? Pin
ABitSmart20-Sep-09 15:40
ABitSmart20-Sep-09 15:40 
QuestionASP.NET Login Name Problem Pin
morteza45120-Sep-09 1:50
morteza45120-Sep-09 1:50 
AnswerRe: ASP.NET Login Name Problem Pin
Abhijit Jana20-Sep-09 2:49
professionalAbhijit Jana20-Sep-09 2:49 
Questionauthentication issue of IIS 6.0 Pin
George_George19-Sep-09 19:48
George_George19-Sep-09 19:48 
AnswerRe: authentication issue of IIS 6.0 Pin
Abhijit Jana19-Sep-09 21:21
professionalAbhijit Jana19-Sep-09 21:21 
GeneralRe: authentication issue of IIS 6.0 Pin
George_George19-Sep-09 22:01
George_George19-Sep-09 22:01 
Questionproblem with new line in the text box Pin
prasadbuddhika19-Sep-09 16:41
prasadbuddhika19-Sep-09 16:41 
AnswerRe: problem with new line in the text box Pin
Christian Graus19-Sep-09 16:55
protectorChristian Graus19-Sep-09 16:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.