Previous in Contents Next in Contents

Class CDFGenerator

Programmatic Identifier: Push.CDFGenerator.1

The CDFGenerator class defines an object developers can use in an Active Server Pages (ASP) environment to create personalized channel content for users.   The following are requirements when generating personalized CDF streams for users:

  1. The user requesting the ASP page must be properly registered as a user with the P&M Membership Authentication Server. Specifically, this means that the built-in ASP Server object creating the instance of the Push.CDFGenerator class must be able to successfully create an instance of a fully initialized class Membership.UserObjects object (also known as the Active User object (AUO).

  2. A class Push.CDFGenHelper object within the ASP application scope must be available to service requests by the CDFGenerator object to generate the user's personalized Channel Definition Format (CDF) streams. This object must therefore be contained in the ASP Application collection.

The CDFGenerator class exposes a dual interface to methods and properties. They can be accessed via the IDispatch interface or the ICDFGenerator COM interface.

Interface ICDFGenerator

Methods

Name Description
OnEndPage Standard server-side ASP method.
OnStartPage Standard server-side ASP method.
Run Builds the user's personal subscription Channel Definition Format (CDF) string from the project.


© 1997-2000 Microsoft Corporation. All rights reserved.