<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Reconnect for third party clients in Vault Customization Forum</title>
    <link>https://forums.autodesk.com/t5/vault-customization-forum/reconnect-for-third-party-clients/m-p/6036711#M8683</link>
    <description>&lt;P&gt;Hello, thanks for the replies, guys!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By reconnect i mean: I connect to the Vault 2016 and consume a license - if I do not perform anything inside my app (for example 5 minutes), then I get error and I need to reconnect. When I do It - I consume another license. The question is - is there a method to reSignIn whit existing ticket/uid, or SignOut - then SignIn?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May be you know what the "SignInAltLicense" method does?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Feb 2016 07:42:02 GMT</pubDate>
    <dc:creator>FedotovAnton</dc:creator>
    <dc:date>2016-02-12T07:42:02Z</dc:date>
    <item>
      <title>Reconnect for third party clients</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/reconnect-for-third-party-clients/m-p/6028458#M8680</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how to perform reconnect for current logged in user (ticket)? I tried to use "SignIn" method with ticket and user uid - but it takes a second license. Or I need to perform "SignOut" then again "SignIn"?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anton.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2016 07:10:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/reconnect-for-third-party-clients/m-p/6028458#M8680</guid>
      <dc:creator>FedotovAnton</dc:creator>
      <dc:date>2016-02-08T07:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Reconnect for third party clients</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/reconnect-for-third-party-clients/m-p/6030458#M8681</link>
      <description>&lt;P&gt;Hi FedotovAnton,&lt;/P&gt;&lt;P&gt;I have just looked up in the Vault SDK documentation and found this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;public void SignIn( 
   System.string dataServer,
   System.string userName,
   System.string userPassword,
   System.string knowledgeVault
)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the Vault server is using network licensing, the sign in will&lt;STRONG&gt; consume license&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;public void SignOut()&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Clients&amp;nbsp;should&amp;nbsp;sign out before exiting.&amp;nbsp; If the Vault server is using network licensing, the sign out will&lt;STRONG&gt; free up the license&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, to answer your question: First, you have to make a sign out before you&amp;nbsp;re-signIn with the user.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 07:02:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/reconnect-for-third-party-clients/m-p/6030458#M8681</guid>
      <dc:creator>Patrick.Gruber</dc:creator>
      <dc:date>2016-02-09T07:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Reconnect for third party clients</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/reconnect-for-third-party-clients/m-p/6034030#M8682</link>
      <description>&lt;P&gt;Anton,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you describe what you mean by "reconnect"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you referring to the "automatic re-signin" support in SDK?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Dave&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 19:43:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/reconnect-for-third-party-clients/m-p/6034030#M8682</guid>
      <dc:creator>minkd</dc:creator>
      <dc:date>2016-02-10T19:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Reconnect for third party clients</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/reconnect-for-third-party-clients/m-p/6036711#M8683</link>
      <description>&lt;P&gt;Hello, thanks for the replies, guys!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By reconnect i mean: I connect to the Vault 2016 and consume a license - if I do not perform anything inside my app (for example 5 minutes), then I get error and I need to reconnect. When I do It - I consume another license. The question is - is there a method to reSignIn whit existing ticket/uid, or SignOut - then SignIn?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May be you know what the "SignInAltLicense" method does?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 07:42:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/reconnect-for-third-party-clients/m-p/6036711#M8683</guid>
      <dc:creator>FedotovAnton</dc:creator>
      <dc:date>2016-02-12T07:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Reconnect for third party clients</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/reconnect-for-third-party-clients/m-p/6037425#M8684</link>
      <description>&lt;P&gt;Are you using the SDK?&amp;nbsp; The SDK provides an automatic re-signin capability via the WebServiceManager class.&amp;nbsp; However, this automatic re-signin is not supported with all of the credential classes - for instance it is not supported if you use the UserIdTicketCredentials class.&amp;nbsp; It works by attempting a re-signin (just once to avoid an infinite loop) when an error 300 (BadToken) exception is received.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Applications should have a corresponding SignOut for any SignIn.&amp;nbsp; The WebServiceManager class does a SignOut when it is disposed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A background job on the server (which runs every 5 minutes) will close sessions that have been inactive for over 30 minutes. Therefore, you shouldn't be losing your session unless you haven't made any web-service calls for 30 to 35 minutes unless IIS is recycling the worker process.&amp;nbsp; If the worker process is recycled all licenses are released until clients do their automatic re-signin.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Licenses are shared based on the vault username and the client host.&amp;nbsp; This is why running Inventor (with vault) and the Vault Explorer client at the same time results in only 1 license being obtained.&amp;nbsp; They are not sharing a "connection" because they are running in different process spaces.&amp;nbsp; This sharing occurs on the server so clients do not need to do anything special for it to work. What indication are you seeing that makes you believe you are consuming two licenses?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SignAltLicense is for internal Autodesk use only - there is no way for a third party application to make use of it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Dave&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 16:52:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/reconnect-for-third-party-clients/m-p/6037425#M8684</guid>
      <dc:creator>minkd</dc:creator>
      <dc:date>2016-02-12T16:52:41Z</dc:date>
    </item>
  </channel>
</rss>

