Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
timeouts?
i keep getting timeouts now. i remember having trouble with that before, and it was because i was missing a cookie in the SOAP header, so i added this code:
Sub setCookie(ByVal strAcct As String)
Dim myUri As Uri = New Uri("https://webservices.netsuite.com")
service.CookieContainer = New System.Net.CookieContainer()
service.CookieContainer.SetCookies(myUri, "ACCOUNT=" & strAcct)
End Sub
is this obsolete? currently, my code uses:
service.CookieContainer = New System.Net.CookieContainer()
right before i invoke setCookie, so it looks like it's being overwritten anyway. does anyone know for sure?
0