Click here to Skip to main content
15,867,835 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: iframe problem Pin
Marc Firth7-Aug-09 2:02
Marc Firth7-Aug-09 2:02 
GeneralRe: iframe problem Pin
sangeethanarayan7-Aug-09 2:53
sangeethanarayan7-Aug-09 2:53 
AnswerRe: iframe problem Pin
Mike Ellison7-Aug-09 3:04
Mike Ellison7-Aug-09 3:04 
GeneralRe: iframe problem Pin
sangeethanarayan7-Aug-09 3:24
sangeethanarayan7-Aug-09 3:24 
QuestionStruck in Database problem Pin
Razanust6-Aug-09 20:26
Razanust6-Aug-09 20:26 
QuestionHow to debug classic ASP pages during AJAX calls in ASP.NET website Pin
andwan06-Aug-09 7:15
andwan06-Aug-09 7:15 
AnswerRe: How to debug classic ASP pages during AJAX calls in ASP.NET website Pin
Aman Bhullar7-Aug-09 3:22
Aman Bhullar7-Aug-09 3:22 
QuestionKnowing IP Address Pin
Hemant Thaker6-Aug-09 1:48
Hemant Thaker6-Aug-09 1:48 
Hi..

I have one requirement for knowing IP Address of client maching browsing my website(asp.net/c#) -->2.0

I have code as follows

string ipAddress;
ipAddress = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];

if (ipAddress == "" || ipAddress == null)

ipAddress = Request.ServerVariables["REMOTE_ADDR"];

This gives me value:127.0.0.1
but actual IP is : 192.168.1.34

Can u suggest me the amendments..

thanks

Hemant Thaker

By:
Hemant Thaker

AnswerRe: Knowing IP Address Pin
fly9046-Aug-09 2:12
fly9046-Aug-09 2:12 
GeneralRe: Knowing IP Address Pin
Hemant Thaker6-Aug-09 8:17
Hemant Thaker6-Aug-09 8:17 
QuestionRecurring payment through Paypal & Authorize.net Pin
saini arun5-Aug-09 21:21
saini arun5-Aug-09 21:21 
AnswerRe: Recurring payment through Paypal & Authorize.net Pin
Ashfield6-Aug-09 9:03
Ashfield6-Aug-09 9:03 
AnswerRe: Recurring payment through Paypal & Authorize.net Pin
Marc Firth7-Aug-09 1:40
Marc Firth7-Aug-09 1:40 
Questionhttp GET request Pin
ayala.felheimer5-Aug-09 21:17
ayala.felheimer5-Aug-09 21:17 
AnswerRe: http GET request Pin
Marc Firth7-Aug-09 1:41
Marc Firth7-Aug-09 1:41 
AnswerRe: http GET request Pin
Abhishek Sur8-Aug-09 9:49
professionalAbhishek Sur8-Aug-09 9:49 
GeneralRe: http GET request Pin
ayala.felheimer12-Sep-09 22:27
ayala.felheimer12-Sep-09 22:27 
GeneralRe: http GET request Pin
Abhishek Sur13-Sep-09 21:58
professionalAbhishek Sur13-Sep-09 21:58 
QuestionDropdownlist choice selection Pin
greendragons4-Aug-09 19:17
greendragons4-Aug-09 19:17 
AnswerRe: Dropdownlist choice selection Pin
Abhijit Jana4-Aug-09 20:26
professionalAbhijit Jana4-Aug-09 20:26 
Questionbroadcast Receiver using udp protocol Pin
jalsa G3-Aug-09 19:58
jalsa G3-Aug-09 19:58 
AnswerRe: broadcast Receiver using udp protocol Pin
Mike Ellison4-Aug-09 3:26
Mike Ellison4-Aug-09 3:26 
QuestionASX File Pin
aqui_i3-Aug-09 16:52
aqui_i3-Aug-09 16:52 
AnswerRe: ASX File Pin
Abhishek Sur8-Aug-09 9:58
professionalAbhishek Sur8-Aug-09 9:58 
Questionget a collection of all the open windows (gadget) Pin
eafsp3-Aug-09 3:24
eafsp3-Aug-09 3:24 

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.