public static DreamCookie NewSetCookie(string name, string value, XUri uri);
| Name | Type | Description |
|---|---|---|
| name | string | Cookie name. |
| value | string | Cookie value. |
| uri | XUri | Cookie Uri. |
public static DreamCookie NewSetCookie(string name, string value, XUri uri, DateTime expires);
| Name | Type | Description |
|---|---|---|
| name | string | Cookie name. |
| value | string | Cookie value. |
| uri | XUri | Cookie Uri. |
| expires | DateTime | Cookie expiration. |
public static DreamCookie NewSetCookie(string name, string value, XUri uri, DateTime expires, bool secure, string comment, XUri commentUri);
public static DreamCookie NewSetCookie(string name, string value, XUri uri, DateTime expires, bool secure, string comment, XUri commentUri, bool httpOnly);
| Name | Type | Description |
|---|---|---|
| name | string | Cookie name. |
| value | string | Cookie value. |
| uri | XUri | Cookie Uri. |
| expires | DateTime | Cookie expiration. |
| secure | bool | True if the cookie should only be used on https requests. |
| comment | string | Comment. |
| commentUri | XUri | Uri for comment. |
| httpOnly | bool | True if cookie is only accessible to the http transport, i.e. not client side scripts. |
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by