Clearquest Database Timeout

Posted by onaclov2000 on Stack Overflow See other posts from Stack Overflow or by onaclov2000
Published on 2010-04-12T15:21:14Z Indexed on 2010/04/12 15:23 UTC
Read the original article Hit count: 477

Filed under:

I have a tool that is setup to query our Clearquest Database to return information to the user automatically every 9000 milliseconds. I came in today and the connection had timed out over the weekend, I found in the oSession object a "check heartbeat" function, but I'm not sure that is what I want to use to determine if i need to "re-login", I saw a db.timeoutinterval, but I can't seem to find any good reference on how to call it, since the oSession Object doesn't actually call it, and any references in the API guide mention it with regard to actually creating the db using the adminsession object. What "object" do I need to create to access the timeout interval and how? Thank you for the help! Or is it better to use the "check heartbeat function" and will it return a true or false depending on current state of login?

© Stack Overflow or respective owner

Related posts about clearquest