Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
476 views
in CompleteFTP by (210 points)
I wrote a couple of custom extensions.

Each of the extension has to fetch data from a sql db.

Is it possible to define a "global" connetion, that can be used through all extensions (like a session varaible in asp.net) or mast every extention handle its own connection?

 

Thanks for your reply

 

Regards HaPe
by (2.7k points)
Are they .NET extensions (i.e. C# or VB.NET) or JSS extensions (i.e. Javascript) ?
by (210 points)
They are vb.net dll's

1 Answer

0 votes
by (2.7k points)
The ISession argument that's passed in has a Tags property that you can add arbitrary name-value pairs to.  These variables have session lifetime, so they should do what you need.

Categories

...