Click here to Skip to main content
15,887,027 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: want dynamically change the Items Control(FileUploadControl.xaml) in scrollviewer "Silver Light" Pin
Piyush Vardhan Singh25-Mar-09 23:41
Piyush Vardhan Singh25-Mar-09 23:41 
Questionhow to traverse through the records using sql datareader Pin
nerzhul8625-Mar-09 22:34
nerzhul8625-Mar-09 22:34 
AnswerRe: how to traverse through the records using sql datareader Pin
anilpal25-Mar-09 22:41
anilpal25-Mar-09 22:41 
AnswerRe: how to traverse through the records using sql datareader Pin
logiclabz25-Mar-09 23:32
logiclabz25-Mar-09 23:32 
Questionhow to use capcha code Pin
JAYRAJ GIRI25-Mar-09 22:10
JAYRAJ GIRI25-Mar-09 22:10 
AnswerRe: how to use capcha code Pin
Abhijit Jana25-Mar-09 22:43
professionalAbhijit Jana25-Mar-09 22:43 
AnswerRe: how to use capcha code Pin
N a v a n e e t h25-Mar-09 23:26
N a v a n e e t h25-Mar-09 23:26 
QuestionHow to get the Client Machine IP Address if Using Proxy Pin
Robymon25-Mar-09 21:29
Robymon25-Mar-09 21:29 
How to get the Client Machine IP Address if Using Proxy and also not. I Tried the following code, but all the code is returning 127.0.0.1.


1) TextBox1.Text = HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"];

2) if (Context.Request.ServerVariables["HTTP_VIA"] != null) // using proxy
{
TextBox1.Text = Context.Request.ServerVariables["HTTP_X_FORWARDED_FOR"].ToString(); // Return real client IP.
}
else// not using proxy or can't get the Client IP
{
TextBox1.Text = Context.Request.ServerVariables["REMOTE_ADDR"].ToString();
}

3) TextBox1.Text = HttpContext.Current.Request.ServerVariables["REMOTE_HOST"];

4) TextBox1.Text = HttpContext.Current.Request.UserHostAddress.ToString();
AnswerRe: How to get the Client Machine IP Address if Using Proxy Pin
Ravindra Bisen25-Mar-09 22:12
Ravindra Bisen25-Mar-09 22:12 
GeneralRe: How to get the Client Machine IP Address if Using Proxy Pin
Robymon25-Mar-09 22:50
Robymon25-Mar-09 22:50 
GeneralRe: How to get the Client Machine IP Address if Using Proxy Pin
logiclabz25-Mar-09 22:55
logiclabz25-Mar-09 22:55 
GeneralRe: How to get the Client Machine IP Address if Using Proxy Pin
Robymon25-Mar-09 23:09
Robymon25-Mar-09 23:09 
Questionhow to make session secure? Pin
RajpootRohan25-Mar-09 21:20
professionalRajpootRohan25-Mar-09 21:20 
AnswerRe: how to make session secure? Pin
anilpal25-Mar-09 21:28
anilpal25-Mar-09 21:28 
GeneralRe: how to make session secure? Pin
RajpootRohan25-Mar-09 21:35
professionalRajpootRohan25-Mar-09 21:35 
GeneralRe: how to make session secure? Pin
anilpal25-Mar-09 22:35
anilpal25-Mar-09 22:35 
GeneralRe: how to make session secure? Pin
RajpootRohan25-Mar-09 22:56
professionalRajpootRohan25-Mar-09 22:56 
GeneralRe: how to make session secure? Pin
N a v a n e e t h25-Mar-09 23:14
N a v a n e e t h25-Mar-09 23:14 
GeneralRe: how to make session secure? Pin
RajpootRohan25-Mar-09 23:19
professionalRajpootRohan25-Mar-09 23:19 
GeneralRe: how to make session secure? Pin
N a v a n e e t h25-Mar-09 23:31
N a v a n e e t h25-Mar-09 23:31 
GeneralRe: how to make session secure? Pin
RajpootRohan25-Mar-09 23:35
professionalRajpootRohan25-Mar-09 23:35 
GeneralRe: how to make session secure? Pin
RajpootRohan26-Mar-09 2:11
professionalRajpootRohan26-Mar-09 2:11 
GeneralRe: how to make session secure? Pin
anilpal26-Mar-09 2:46
anilpal26-Mar-09 2:46 
GeneralRe: how to make session secure? Pin
RajpootRohan26-Mar-09 3:09
professionalRajpootRohan26-Mar-09 3:09 
GeneralRe: how to make session secure? Pin
anilpal26-Mar-09 3:31
anilpal26-Mar-09 3:31 

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.