NetTalk Central

Author Topic: Using DNS connection and Redirect  (Read 3029 times)

mtabakin

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
    • Email
Using DNS connection and Redirect
« on: February 20, 2015, 12:57:35 PM »
Be careful when connecting to a Webserver using DNS as in http://myserver:88. I ran into problems with a Redirect('http://go.someplace.com/page) not working. Changing the connection to use an IP address as in http://123.45.67.123:88 allowed the Redirect to work correctly. There also was an issue with the SessionID not getting returned when connecting use IE.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11179
    • View Profile
Re: Using DNS connection and Redirect
« Reply #1 on: February 23, 2015, 12:05:48 AM »
Hi Mike,

sorry mate - but this is incorrect. You should always use DNS values over IP numbers, and underneath allow the DNS system to translate the domains into numbers.  Going strictly from your example above you should redirect to

 Redirect('http://go.someplace.com:88/page)

>> Changing the connection to use an IP address as in http://123.45.67.123:88 allowed the Redirect to work correctly.

You've changed the IP address AND the port number, and I suspect it's the port number bit which is making it work.

cheers
Bruce