Creating a Manager instance  Creating stub instances

Chapter 20: Creating ActiveX Clients

Creating sessions

The SessionManager::Session interface represents an authenticated session between the client application and a server. The createSession method accepts a user name and password and returns a session object, as shown in the example below:

Dim orb As ORB
Dim Manager As Manager
Dim Session as Session
Dim obj as Object
...deleted manager initialization
Set obj = Manager.createSession("jagadmin","")
Set Session = obj.Narrow_("SessionManager/Session")
...




Copyright © 2005. Sybase Inc. All rights reserved. Creating stub instances

View this book as PDF