Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6181317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T00:59:54+00:00 2026-05-24T00:59:54+00:00

EDIT after Answers AND Comments : How can i find the IP address of

  • 0

EDIT after Answers AND Comments :

How can i find the IP address of a web site (for example bank web site) that is sending to my web site (asp.net page with c#) some specific and needed data by post method?

For example :

<form id="form1" method="post" action="my web site url"></form>

Imagine that I have a user that wants to buy something from my web site!

He/She opens my web site and choose a product and click pay. At this time I can get their ip address by the below answers.

By clicking “pay” I transfer some data such as order_id to a bank web site by a POST method.

When the user goes to the bank website and transfers some money, they then want to get back my web site!

At this time,the bank site sends some data such as transaction_id by a POST method to my web site for checking payment.

For some security reasons and to prevent simulation this transaction_id transfers between the bank site and my web site, I want to check bank ip address when getting his POST data (third party ip address).

For example I want to find the ip-address(mean bank) of transaction_id Sender at below code :

string transaction_id = Page.Request.Form["transaction_id"];  

However, if I check

string ipaddress = HttpContext.Current.Request.UserHostAddress;  

or

Request.ServerVariables("REMOTE_ADDR")

these codes return only that user IP address, not sender of POST data.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T00:59:54+00:00Added an answer on May 24, 2026 at 12:59 am
     Request.ServerVariables("REMOTE_ADDR")
    

    This link might give more details

    http://thepcspy.com/read/getting_the_real_ip_of_your_users/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

EDIT: This post was originally specific to ASP.NET, but after thinking about it I'm
FINAL EDIT: After following the answer from Darin Dimitrov, I have found that the
EDIT: My mistake was that I had a go after the first select statement
oo design basics here... Edit: To clarify after first answer - I'm not asking
Edit note: After a seemingly enourmous amount of bad feedback MS got from their
I'm trying to immediately set a row to Edit mode after it is created.
Possible Duplicate: Saving changes after table edit in SQL Server Management Studio I need
EDIT: a few weeks after I posted this question Evan Coury wrote an excellent
EDIT 1 I apologize but after reading the 2 suggested articles I still don't
[EDIT] I am changing this to more concisely explain what my problem was, after

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.