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 8536067
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:34:36+00:00 2026-06-11T10:34:36+00:00

Hello guys i have server A where i would like to put a link

  • 0

Hello guys i have server “A” where i would like to put a link to an application to server “B”. Server “A” is a unix machine running java and redhat linux. when user come to server “A” they must first authenticate so that they can get to see the application in server “A”. What i like to do now is leverage server “A”‘s authentication and basically allow the user to see the page rendered page on server “B” if and only if he has be authenticated on server A.(server “A” sets a cookie i believe) I would want to make the page on server B check wheter the user is authenticated and its coming from server “A”. If it is then render the page if its not then redirect the user back to server A to authenticate.
Server “B” its a windows machine running windows server 8 64bit.
Can someone point me in the right direction This seems possible however im not sure how to accomplish.
Thanks in advance.

  • 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-06-11T10:34:37+00:00Added an answer on June 11, 2026 at 10:34 am

    The answer to this its not possible there are few script out there that go like this

    public string GetIPAddress() 
      { 
         string strHostName = System.Net.Dns.GetHostName(); 
         IPHostEntry ipHostInfo = Dns.Resolve(Dns.GetHostName()); 
         IPAddress ipAddress = ipHostInfo.AddressList[0]; 
    
         return ipAddress.ToString(); 
      } 
    

    This returns the ip address of the server your are on but not the server that it actually making a post or a get request to this server.
    The closest thing that you could get is the best source that i have been able to find is this,

    Request.ServerVariables["HTTP_REFERER"];
    

    This gives me the hostname of the server making a call.

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

Sidebar

Related Questions

Hello guys I have a problem with my application involving Lucene java library and
Hello guys, I have a general design problem with iPhone application. I want to
Hello guys I have a map like this http://sinanisler.com/demo/map/ and as you can see
Hello guys I want to have something like JQuery selectors. What I mean is
hello guys i have three server and i mange it from SSH so i
Hello guys have client server chat and i try to write load test on
Hello guys i have a small problem at my console application i have a
Hello guys i have installed wamp server Version 2.0 .. and i have tried
Hello guys I'm creating an application that have a widget the application and the
Hello guys i have dataform in silverlight 4 project item source is: ItemsSource={Binding Data,

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.