Set cookie

  Previous topic Next topic Print this topic Mail us feedback on this topic!

  Default  
  Web part control ID: Serves as an identifier for the web part. This ID must be unique within the context of each page template. The value of this property may only contain alphanumeric characters and the underscore character ( _ ).  
  Web part title: Title of the web part displayed on the Design tab of CMS Desk. If empty, the value of the Web part control ID property is used for this purpose.  
  Disable view state: Indicates if view state should be disabled for this web part.  
  Disable macros: If checked, macros contained in the values of the web part's properties will no longer be resolved.  
   

  Usability  
  Enabled: Indicates if the web part is enabled.  
  Disable on subpages: Indicates if the web part should be disabled on sub-pages. If checked, the web part will not perform its function on child documents that inherit the page template containing the web part.  
  Use for document types: Contains a list of document types on which the web part should be used. If the currently selected document uses the page template containing the web part, but its type is not specified by this property, the web part will not be functional. The document types in the list must be specified by their code names and separated by semicolons (;). If empty, the web part will be enabled on all document types.  
  Use for roles: The web part will only perform its function if the current user is assigned to one of the roles specified in this list. This may be used to implement documents with specific functionality for different types of users. The roles in the list must be specified by their code names and separated by semicolons (;). If empty, the web part will work for all users.  
   

  Cookie settings  
  Name: Sets the name of the cookie that will be stored when the page containing the web part is accessed.  
  Value: Specifies the value that will be saved by the cookie. You can enter various types of macro expressions to set the value dynamically.  
  Expiration: Specifies the exact date and time when the cookie should expire.  
  Path: Sets a virtual path that will be transmitted with the cookie. If no value is entered, the path of the current request will be used by default.  
   

Help URL: http://devnet.kentico.com/docs/webparts/index.html?SetCookie_properties.htm