Use Sessions
Establish sessions with NetSuite, or instead submit user credentials on each request.
Data Type
bool
Default Value
true
Remarks
If UseSessions is set to true, then user credentials will not be submitted on each request to NetSuite. Instead, a single Login will be attempted to establish the session, and from that point on, the session will be used on each subsequent request. This is a more secure method of communication.
In general, most NetSuite users can only establish a single session with a company file. The RSSBus ADO.NET Provider for NetSuite is aware of this limitation and attempts to share the session for a given user across connections if multiple threads are active. However, if the same user is being used to connect from multiple machines or multiple different products, then there are likely to be connection problems. If your use case involves using the same user in these situations, it is better to set UseSessions to false and instead submit credentials on each request to avoid leaving sessions open beyond a single request at a time.