There is no provision for doing what you want with glob.js, but there are other approaches you can consider. If you give more background about how you're using the global variables, it may help focus our recommendations. The more details the better.
Thanks for the quick reply.
The objective of the global variables is to count and restrict the number of
times various pages within the file are printed. Each page of the file is
associated with two global persistent variables -- a print counter and a
print max. Once the counter reaches the max, printing is denied.
Works ok for a single user -- not great, but its functional.
Need a network solution so that all users can draw upon the allowable prints
until the max is reached.
I certainly appreciate your help. Thanks..
Have you looked at using the 'subscribe' method of the 'global' object?
See the Acumen Journal for August 2004.
But there is limit as to how many subscribed global variables can exist.
You could also use ADBC and track this data in a database.
Thanks for the acumen reference -- read the Aug 2004 article on subscribe as
well as a couple others -- some good stuff in there.
As best I understand the documentation on subscribe, it would apply only to
pdfs and globals resident on a particular machine -- it can't "reach" across
a network. In other words -- as I understand it -- User A would not be able
to subscribe to or access User B's instance of global.AnyVar1.
Do you understand it that way? I'm needing to give all users on a network
access to the same instance of globals.
If all can address the drive from within a PDF, you can have the control PDF file on a networked drive, but everyone will need to address the PDF with the same full address. You may need to use the URI address and not the mapped drive letter.
You could also use a network located SQL database like an Access db.
Ok, that gives me something to think about -- I'll talk to the customer's
network guy and see what's possible on his end.
Thanks so much for your help.