NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: astahl on September 23, 2016, 08:43:18 AM
-
Hi Bruce,
The Rediect does not always work correctly when called.
I am using the below code in the WebHandler - ParseRequstHeader Procedure
IF SELF.XForwardedProto = ': http' THEN
SELF.Redirect('https://www.trackcustommail.com',Net:Web:ToSecure,Net:Web:Repost,Net:Web:PermRedirect)
RETURN NET:NOTOK
END
It is not returning the redirect to the correct caller. I have the info from WireShark and will supply it if necessary.
Ashley
-
all additional information would be gratefully accepted.
cheers
Bruce
-
Here you go Bruce, see attached.
Ashley
-
given the size of that file - any clues as to where I should be looking to see the problem?
also; have you added any debugging to see the result of this line of code;
IF SELF.XForwardedProto = ': http' THEN
perhaps you are assuming XForwardedProto is set to something it is not set to?
cheers
Bruce