Click or drag to resize
CookieHelper Methods

The CookieHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberChangeCookieExpiration
Sets the specific cookie expiration time.
Protected methodChangeCookieExpirationInternal
Sets the specific cookie expiration time.
Public methodStatic memberClearResponseCookies
Clears all cookies from cookie collection.
Public methodContainsColumn
Returns true if the object contains specified column.
Public methodStatic memberConvertCookieLevelToIntegerValue
Gets the cookie level from a string value
Public methodStatic memberEnsureResponseCookie
Ensure response cookie.
Protected methodGetCookieDefaultValueInternal
Gets the default value of a cookie
Protected methodGetCookieLevelInternal
Gets the cookie level for the given cookie
Public methodStatic memberGetDistinctCookieNames
Gets names of both request and response cookies without duplicates.
Public methodStatic memberGetExistingCookie
Returns the existing cookie.
Public methodStatic memberGetValue(String)
Returns the given cookie value.
Public methodStatic memberGetValue(String, Boolean, Boolean)
Returns the given cookie value.
Protected methodGetValueInternal
Returns the given cookie value.
Public methodStatic memberIsCookieAllowed
Returns true if the cookie is allowed based on current cookie level
Protected methodIsCookieAllowedInternal
Returns true if the cookie is allowed based on current cookie level
Public methodStatic memberRegisterCookie
Registers the given cookie within the system.
Public methodStatic memberRemove
Removes the cookie from the client side.
Public methodStatic memberRemoveAllCookies
Removes all the user cookies above given level
Protected methodRemoveAllCookiesInternal
Removes all the user cookies
Protected methodRemoveInternal
Removes the cookie from the client side.
Public methodStatic memberRemoveResponseCookie
Removes cookie from response.
Public methodStatic memberRequestCookieExists
Checks if request cookie exists.
Public methodStatic memberResponseCookieExists
Checks if response cookie exists.
Public methodStatic memberRestoreResponseCookies
Restores response cookies.
Public methodSetAsDefaultHelper
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.)
Public methodStatic memberSetValue(String, String, String, DateTime)
Sets the cookie.
Public methodStatic memberSetValue(String, String, String, DateTime, NullableBoolean)
Sets the cookie.
Public methodStatic memberSetValue(String, String, String, DateTime, NullableBoolean, String)
Sets the cookie.
Public methodStatic memberSetValue(String, String, DateTime, String, NullableBoolean, String, SameSiteMode, Boolean)
Sets the cookie.
Protected methodSetValueInternal
Sets the cookie.
Public methodTryGetValue
Returns value of column.
Top
Extension Methods
  NameDescription
Public Extension MethodCheckRequiredColumns
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.)
Public Extension MethodToJSON
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Public Extension MethodToXML(XmlWriter, Boolean)Overloaded.
Writes XML representation of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.)
Public Extension MethodToXML(String, Boolean)Overloaded.
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Public Extension MethodToXML(XmlWriter, ListString, Boolean)Overloaded.
Writes XML representation of selected columns of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.)
Top
See Also