Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Data XML Analysis > SessionID
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 519 of 568
Post > Topic >>

SessionID

by "Reda" <piotr.nusbaum@[EMAIL PROTECTED] > May 11, 2006 at 11:59 AM

Hello,

I have a question. I don't know how to use SessionID property of the
AdomdConnection.
I thought that once I open connection, I can get it and then after
disconnecting, use it to connect to the same session. This way I wanted to
implement connection pooling.

My code looks like this:

AdomdConnection connection=new AdomdConnection(...);
connection.Open();
string sessionID = connection.SessionID;
....
connection.Close(false);

.....

connection.SessionID = sessionID;
connection.Open(); <--- and here I got exception: The Session, '..' does
not
exists.
.....

What am I doing wrong here ?


Best regards
Peter
 




 4 Posts in Topic:
SessionID
"Reda" <piot  2006-05-11 11:59:03 
Re: SessionID
"Mary Potapova [MS]&  2006-05-11 15:32:19 
Re: SessionID
"Reda" <piot  2006-05-12 11:13:33 
Re: SessionID
"Mary Potapova [MS]&  2006-05-12 13:43:07 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 5:58:26 CST 2008.