Click or drag to resize

PdfHttpHandlerWithSession Class

Defines the contract that ASP.NET implements to synchronously process HTTP Web requests made by a PdfWebControl or PdfWebControlLite including session information.
Inheritance Hierarchy

Namespace:  RadPdf.Web.HttpHandler
Assembly:  RadPdf (in RadPdf.dll) Version: (
public class PdfHttpHandlerWithSession : PdfHttpHandlerWithoutSession, 

The PdfHttpHandlerWithSession type exposes the following members.

Public methodPdfHttpHandlerWithSession
Initializes a new instance of the PdfHttpHandlerWithSession class
Public propertyIsReusable
Gets a value indicating whether more than one request can use this HttpHander instance
(Inherited from PdfHttpHandlerWithoutSession.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProcessRequest
Enables processing of HTTP Web requests by the HttpHandler.
(Inherited from PdfHttpHandlerWithoutSession.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

This class and its members should only be used in a web application setup for a PdfWebControl.

This class is the same as PdfHttpHandler. If only no access is needed to session information, consider using PdfHttpHandlerWithoutSession instead. If only read access is needed to session information, consider using PdfHttpHandlerWithReadOnlySession instead.

Session information can be accessed in a custom PdfIntegrationProvider using HttpContext.Current.Session (the namespace System.Web must be referenced).

The following sample web.config file registers the PdfHttpHandlerWithSession for use in this web application which uses PdfWebControl.
<?xml version="1.0"?>
    <add key="RadPdfConnectionString" value="Server=.\SQLExpress;Database=RadPdf;Trusted_Connection=Yes;"/>
    <add key="RadPdfLicenseKey" value="DEMO"/>
      <add path="RadPdf.axd" verb="GET,POST" type="RadPdf.Web.HttpHandler.PdfHttpHandlerWithSession"/>
    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.
    <validation validateIntegratedModeConfiguration="false"/>
      <add path="RadPdf.axd" verb="GET,POST" name="PdfHttpHandler" preCondition="integratedMode" type="RadPdf.Web.HttpHandler.PdfHttpHandlerWithSession"/>
See Also