NetTalk Central

NetTalk Web Server => Web Server - Share Knowledge => Topic started by: mtabakin on February 20, 2015, 12:57:35 PM

Title: Using DNS connection and Redirect
Post by: mtabakin 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.
Title: Re: Using DNS connection and Redirect
Post by: Bruce 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