|
|
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Sets the max age of the response.
Namespace: Smartsite.Runtime.Modules
Assembly: Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)
Syntax
| C# | |
|---|---|
[] public static void SetMaxAge( context, int seconds ) | |
| Visual Basic (Declaration) | |
|---|---|
<> _ Public Shared Sub SetMaxAge ( _ context As , _ seconds As Integer _ ) | |
Parameters
- context
- IRenderContext
The context.
- seconds
- Int32
The max age in seconds.
See Also
ResponseViperModule Class
Smartsite.Runtime.Modules Namespace