3 Replies Latest reply on Nov 17, 2011 10:46 AM by SafeBoot

    EEPC 5.x Com Object


      I am trying to write a script to automate some tasks on our encryption server using the SB scripting COM Object. I have a question about the ConnectionType in the XML specification.  What is the difference between Persistent.Use and Transient. It appears you have to provide Admin credentials for both. is their really an gain by using Persistent.Use over Transient?





      Chris Porter

        • 1. Re: EEPC 5.x Com Object

          You only need to provide creds the first time with a persistent connection, from then on you just supply the ref.


          It makes no difference if you are only making one transaction, but for two or more you can save 80% of the load on the db, so absolutely it's beneficial.


          Logging on, with the associated updating of audit etc, is one of the most expensive transactions you can make so anything to reduce that helps.

          • 2. Re: EEPC 5.x Com Object

            Thanks for the information. I was using some other scripts including your Autodomain.vbs as a reference and in the command execution function it looks like it sets the credentials everytime regardless of connection type.

            • 3. Re: EEPC 5.x Com Object

              probably, but if the connection type is persistant.use, and you specify a valid ID, then it doesnt do a login. The nice thing about XML is that you can ignore stuff at will