[propget] HRESULT MaxRedirectDepth([out, retval] short * depth);
[propput] HRESULT MaxRedirectDepth([in] short depth);
The HTTPTransport will follow redirects returned from the server, until the number of redirects equals MaxRedirectDepth for a single request. This defaults to 5. You can set this to 0 to disable redirects.
The current value of the MaxRedirectDepth property
dim t set t = CreateObject("pocketSOAP.HTTPTransport.2") ' disable redirects t.MaxRedirectDepth = 0 t.send "http://example.org/", e.serialize
Copyright © Simon Fell, 2000-2004. All rights reserved.