Re: Sharing sessions between asynchronous AdomdConnection objects.



you have to take care if you create session level object
like session level set or members
in this case these objects are store in the session and available to any
request done through this sessionid.
this is also an advantage, you create a set then you share it to the
following queries without recreating it.

from a performance point of view its good (and recommended) to reuse the
same sessionid.
opening a new session is slower then using an existing one.


"Terry Smith" <TerrySmith@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E51DFBE0-A1E8-409E-A5A5-62C317174637@xxxxxxxxxxxxxxxx
When performing multiple Adomd reads asynchronously, what are the
pitfalls,
if any, of multiple AdomdConnection objects using the same SessionID? Is
this
OK? Is it the preferred way of doing things?

Thanks,

Terry

______________________
Terry Smith
Senior Architect
Insight Ecosystems
http://www.insightecosystems.com


.



Relevant Pages

  • Re: Session state is not available in this context
    ... Is the Cache's scope at application level or session level? ... So there is no session state ... You can use the Cache object as Joe suggest. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Sessions and Forms Authentication Cookie
    ... I have a folder on my site secured with Forms Authentication. ... The session time on the server is set to 20 mins. ... expiry time for the Forms Authentication cookie is 30 mins? ... The other pages are not able to read the session level ...
    (microsoft.public.dotnet.framework.aspnet)
  • Reduction of scope of shared properties from application to session not possible?
    ... it's impossible to reduce the scope of shared properties from ... application level to session level? ... > Then do not use a Shared class. ... >> How do I set it up so that each individual session uses a different ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Storing a datatable (or arraylist )on ASP.NET Session
    ... Perhaps your ArrayList store smth which can't be casted to object. ... If exactly that code u shown didn't work (emply arraylists) that I recomment to re-register asp.net 2.0 calling aspnet_regiis,exe - i ... Team blog: http://devkids.blogspot.com/ ... b> session variables is stored on web server's local sql database. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: LISP for web
    ... >>Ideas on how to store this information centrally for all of the app ... > ucw's form handling code (to make sure session ids are always ... > can deal with hardware failures an the app servers but this ...
    (comp.lang.lisp)