public static void SetCookie( HttpRequestMessage request, HttpResponseMessage response, string key, string value, string path = "/", TimeSpan? maxAge = null )
Public Shared Sub SetCookie ( request As HttpRequestMessage, response As HttpResponseMessage, key As String, value As String, Optional path As String = "/", Optional maxAge As TimeSpan? = Nothing )
public: static void SetCookie( HttpRequestMessage^ request, HttpResponseMessage^ response, String^ key, String^ value, String^ path = L"/", Nullable<TimeSpan> maxAge = nullptr )
static member SetCookie : request : HttpRequestMessage * response : HttpResponseMessage * key : string * value : string * ?path : string * ?maxAge : Nullable<TimeSpan> (* Defaults: let _path = defaultArg path "/" let _maxAge = defaultArg maxAge null *) -> unit
GSF.Web.Security.SessionHandler.SetCookie = function(request, response, key, value, path, maxAge);
Copyright © 2018, Grid Protection Alliance. All Rights Reserved.