PdfHttpHandlerWithSession Class |
Namespace: RadPdf.Web.HttpHandler
The PdfHttpHandlerWithSession type exposes the following members.
Name | Description | |
---|---|---|
PdfHttpHandlerWithSession | Initializes a new instance of the PdfHttpHandlerWithSession class |
Name | Description | |
---|---|---|
IsReusable |
Gets a value indicating whether more than one request can use this HttpHander instance
(Inherited from PdfHttpHandlerWithoutSession.) |
Name | Description | |
---|---|---|
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.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ProcessRequest |
Enables processing of HTTP Web requests by the HttpHandler.
(Inherited from PdfHttpHandlerWithoutSession.) | |
ToString | 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).
<?xml version="1.0"?> <configuration> <appSettings> <add key="RadPdfConnectionString" value="Server=.\SQLExpress;Database=RadPdf;Trusted_Connection=Yes;"/> <add key="RadPdfLicenseKey" value="DEMO"/> </appSettings> <system.web> <httpHandlers> <add path="RadPdf.axd" verb="GET,POST" type="RadPdf.Web.HttpHandler.PdfHttpHandlerWithSession"/> </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.PdfHttpHandlerWithSession"/> </handlers> </system.webServer> </configuration>