adapter
adapter copied to clipboard
SAS9 Multiple redirections
When a request is redirected more than once, the request body is lost.
One scenario (more are possible) where that is a critical issue:
- SAS9
- debug on
- debug flag is not passed to the final request after redirections
- SAS returns pure JSON response (without webout begin/end tags)
- Adapter expects those tags since debug is on
- App fails because of JS error
If the client has SSO, one mechanism to avoid the loss of URL params during the redirects is to force an initial SAS connection in the <head>
, eg (dirty hack alert, but it works):
<link rel="stylesheet" href="/SASStoredProcess/">