re-use the session id for each web service call
20 October, 2009
We are using web services to call reports and have run out of memory on a 1 Gig server - 800 concurrent user sessions were created. Is there a way to re-use the session id for each web service call?
pseudo code for webservice sessions:
Initial request is the same as what you currently have i.e
Request.LoginId = user@yellowfin.com.au;
Request.Password = Password;
etc.
Make webservice call, and get the SessionId from the response. i.e:
SessionId = Response.SessionId;
Subsequent requests (same as request code above) with addition of SessionId:
Request.LoginId = user@yellowfin.com.au;
Request.Password = Password;
Request.SessionId = SessionId;
etc.
Initial request is the same as what you currently have i.e
Request.LoginId = user@yellowfin.com.au;
Request.Password = Password;
etc.
Make webservice call, and get the SessionId from the response. i.e:
SessionId = Response.SessionId;
Subsequent requests (same as request code above) with addition of SessionId:
Request.LoginId = user@yellowfin.com.au;
Request.Password = Password;
Request.SessionId = SessionId;
etc.