ICON Software Solutions
The Icon.Tools.SetCookieValue function.

Namespace:  Icon
Assembly:  Icon (in Icon.dll) Version: 2010.3.0.0 (2010.3.0.0)

Syntax

C#
public static bool SetCookieValue(
	string strCookieName,
	string strKey,
	Object objValue
)
Visual Basic (Declaration)
Public Shared Function SetCookieValue ( _
	strCookieName As String, _
	strKey As String, _
	objValue As Object _
) As Boolean
Visual C++
public:
static bool SetCookieValue(
	String^ strCookieName, 
	String^ strKey, 
	Object^ objValue
)
J#
public static boolean SetCookieValue(
	String strCookieName,
	String strKey,
	Object objValue
)

Parameters

strCookieName
Type: System..::.String
The name of the cookie whose key value we want to set, as string.
strKey
Type: System..::.String
The cookie key whose value we want to set.
objValue
Type: System..::.Object
The object that the key value will be set to.

Return Value

A Boolean value set to true if the cookie has been set.

Remarks

This function will take a cookie name, key and value, and set the cookie key to the passed value.

See Also