| ServicePdfLiteSessionProvider Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: RadPdf.Lite
 Syntax
SyntaxThe ServicePdfLiteSessionProvider type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | ServicePdfLiteSessionProvider | 
            Contructs a new ServicePdfLiteSessionProvider instance for use by RAD PDF.
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | AddSession | 
            Adds a new PdfLiteSession to the provider.
            (Overrides PdfLiteSessionProviderAddSession(PdfLiteSession).) | 
|  | Equals | (Inherited from Object.) | 
|  | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) | 
|  | GenerateKey | 
            Gets a string which contains a randomly generated key using RNGCryptoServiceProvider.
            (Inherited from PdfLiteSessionProvider.) | 
|  | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
|  | GetSession | 
            Gets a PdfLiteSession from the provider associated with a given key.
            (Overrides PdfLiteSessionProviderGetSession(String).) | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | MemberwiseClone | Creates a shallow copy of the current Object.(Inherited from Object.) | 
|  | ToString | Returns a string that represents the current object.(Inherited from Object.) | 
 Remarks
RemarksSession keys created and stored in the system service will expire automatically at the same rate as other cache (12 hours by default).
 Examples
Examplesusing System; using System.Web; using RadPdf.Integration; public class CustomPdfIntegrationProvider : PdfIntegrationProvider { public CustomPdfIntegrationProvider() : base() { this.LiteSessionProvider = new ServicePdfLiteSessionProvider(); } }
<?xml version="1.0"?> <configuration> <appSettings> <add key="RadPdfLicenseKey" value="DEMO"/> <add key="RadPdfIntegrationProvider" value="CustomPdfIntegrationProvider,App_Code"/> </appSettings> <system.web> <httpHandlers> <add path="RadPdf.axd" verb="GET,POST" type="RadPdf.Web.HttpHandler.PdfHttpHandler"/> </httpHandlers> </system.web> <!-- The system.webServer element is for use with IIS 7 (and later) when Managed Pipeline Mode is set to "Integrated". It will be ignored in other versions of IIS. --> <system.webServer> <validation validateIntegratedModeConfiguration="false"/> <handlers> <add path="RadPdf.axd" verb="GET,POST" name="PdfHttpHandler" preCondition="integratedMode" type="RadPdf.Web.HttpHandler.PdfHttpHandler"/> </handlers> </system.webServer> </configuration>
 See Also
See Also