PdfLiteSessionProviderAddSession Method |
Namespace:
RadPdf.Lite
Assembly:
RadPdfStandard (in RadPdfStandard.dll) Version: 4.0.0.0 (4.0.0.0)
Syntaxpublic abstract string AddSession(
HttpContext context,
PdfLiteSession session
)
Public MustOverride Function AddSession (
context As HttpContext,
session As PdfLiteSession
) As String
Parameters
- context
- Type: Microsoft.AspNetCore.HttpHttpContext
- session
- Type: RadPdf.LitePdfLiteSession
PdfLiteSession to be added to the provider.
Return Value
Type:
String
A cryptographically strong key which can be used to retrive this PdfLiteSession from the provider.
Remarks
It is very important that the key returned be unique and hard to guess.
Ideally, the key is randomly generated (using a strong generator like RNGCryptoServiceProvider) and at least 128-bit.
RAD PDF can generate a key to return using GenerateKey.
See Also