<biSessionCallback> Element

The biSessionCallback element is a member of the following categories:

Insert the biSessionCallback element in any page where you want to define a method that will modify one or more attributes of the BISession object before the BISession is initialized.

Attributes

No attributes. This element must contain either an instance element or a method element that you insert using code insight.

Usage notes

The biSessionCallback is a child of the biThinSession element and must be defined within the biThinSession.

You can use the biSessionCallback element to set the BIUser property of the BI configuration file dynamically. The following situations are examples of when you might want to set this property before the BISession object is initialized:

Example

The following XML fragment shows a sample definition of a biSessionCallback that contains an instance element. The instance element returns an instance of a class that modifies the BIUser property of the BISession object before a presentation is loaded from the BI Beans Catalog.


<!-- Sample biSessionCallback that uses an instance element --> <biSessionCallback> <instance class = "myPackage.Class1", method = "getHandler"/> </biSessionCallback>

The Help topic for the instance element shows sample code for classes that change the BIUser property of the BISession object.