Search found 4 matches

by fruitninja
Mon May 07, 2018 8:28 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Using one SessionID Cookie for multiple connections
Replies: 0
Views: 539

Using one SessionID Cookie for multiple connections

Hello, Is it possible to use the SessionID of a connection, for a second connection to the same database? So the first connection provides valid credentials and gets back the SessionID as header. While the first connection is still open, the second connection uses the this SessionID to log in, witho...
by fruitninja
Thu Dec 14, 2017 7:12 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Use only one connection slot for multiple, parallel requests
Replies: 1
Views: 304

Use only one connection slot for multiple, parallel requests

Hi, So we are accessing data from a TM1 Server using RestSharp, which works fine so far. Now I'm facing a issue and I hope someone has an idea how I could solve it: Is there a way to send multiple parallel requests(4-5) to the server and only using up one connection slot? By this I mean I authentica...
by fruitninja
Mon Nov 20, 2017 1:13 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Multiple Requests use multiple connection slots to 10.2.2 fp5 Server
Replies: 1
Views: 323

Re: Multiple Requests use multiple connection slots to 10.2.2 fp5 Server

I found an solution for this if anyone is interested:

I just had to add a CookieContainer to my global RestClient. Now my Code only uses 1 connection slot even with multiple Requests.

Code: Select all

CookieContainer cookies = new CookieContainer();
restClient.CookieContainer = cookies;
by fruitninja
Mon Nov 20, 2017 8:53 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Multiple Requests use multiple connection slots to 10.2.2 fp5 Server
Replies: 1
Views: 323

Multiple Requests use multiple connection slots to 10.2.2 fp5 Server

Hello, I'm new here and a beginner with TM1, so excuse me if I get some things wrong. I set up a Tm1 10.2.2 fp5 server to test some code on and almost everything works fine. My Problem: I have set Max Connections of for example usr1 to "3". In my Code I execute multiple different requests to this se...