Click here to Skip to main content
15,914,416 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Webservice multiple calls Pin
Christian Graus20-Sep-09 13:59
protectorChristian Graus20-Sep-09 13:59 
GeneralRe: Webservice multiple calls Pin
Matt Cavanagh20-Sep-09 20:55
Matt Cavanagh20-Sep-09 20:55 
QuestionImpersonation throwing exception Pin
vishwjeet20-Sep-09 6:19
vishwjeet20-Sep-09 6:19 
AnswerRe: Impersonation throwing exception Pin
Abhishek Sur20-Sep-09 7:59
professionalAbhishek Sur20-Sep-09 7:59 
GeneralRe: Impersonation throwing exception Pin
vishwjeet20-Sep-09 8:23
vishwjeet20-Sep-09 8:23 
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 

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.