More...
|
override string | ToScript () |
|
virtual void | Render () |
|
virtual void | Call (string name) |
|
virtual void | Call (string name, params object[] args) |
|
virtual void | Set (string name, object value) |
|
virtual void | AddScript (string template, params object[] args) |
|
virtual void | AddScript (string script) |
|
|
static void | Clear (string name) |
| Removes a cookie with the provided name from the browser if found by setting its expiration date to sometime in the past. More...
|
|
static string | GetValue (string name) |
| Retrieves cookie value that are accessible by the current page. If a cookie does not exist, get() returns null. More...
|
|
static HttpCookie | GetCookie (string name) |
| Retrieves cookie that are accessible by the current page. If a cookie does not exist, get() returns null. More...
|
|
static void | Set (string name, object value, DateTime expires, string path, string domain, bool secure) |
| Create a cookie with the specified name and value. Additional settings for the cookie may be optionally specified (for example: expiration, access restriction, SSL). More...
|
|
|
virtual void | CallCookies (string name, params object[] args) |
|
virtual void | CallTemplate (string template, string name, params object[] args) |
|
virtual string | FormatCall (string name, params object[] args) |
|
virtual string | FormatCallTemplate (string template, string name, params object[] args) |
|
virtual string | FormatArgs (object[] args) |
|
◆ CallCookies()
virtual void Ext.Net.Cookies.CallCookies |
( |
string |
name, |
|
|
params object[] |
args |
|
) |
| |
|
inlineprotectedvirtual |
◆ Clear()
static void Ext.Net.Cookies.Clear |
( |
string |
name | ) |
|
|
inlinestatic |
Removes a cookie with the provided name from the browser if found by setting its expiration date to sometime in the past.
- Parameters
-
name | The name of the cookie to remove |
◆ GetCookie()
static HttpCookie Ext.Net.Cookies.GetCookie |
( |
string |
name | ) |
|
|
inlinestatic |
Retrieves cookie that are accessible by the current page. If a cookie does not exist, get() returns null.
- Parameters
-
name | The name of the cookie to get |
- Returns
- Returns the cookie for the specified name; null if the cookie name does not exist.
◆ GetValue()
static string Ext.Net.Cookies.GetValue |
( |
string |
name | ) |
|
|
inlinestatic |
Retrieves cookie value that are accessible by the current page. If a cookie does not exist, get() returns null.
- Parameters
-
name | The name of the cookie to get |
- Returns
- Returns the cookie value for the specified name; null if the cookie name does not exist.
◆ Set()
static void Ext.Net.Cookies.Set |
( |
string |
name, |
|
|
object |
value, |
|
|
DateTime |
expires, |
|
|
string |
path, |
|
|
string |
domain, |
|
|
bool |
secure |
|
) |
| |
|
inlinestatic |
Create a cookie with the specified name and value. Additional settings for the cookie may be optionally specified (for example: expiration, access restriction, SSL).
- Parameters
-
name | The name of the cookie to set. |
value | The value to set for the cookie. |
expires | Specify an expiration date the cookie is to persist until. Note that the specified Date object will be converted to Greenwich Mean Time (GMT). |
path | Setting a path on the cookie restricts access to pages that match that path. Defaults to all pages ('/'). |
domain | Setting a domain restricts access to pages on a given domain (typically used to allow cookie access across subdomains). For example, "ext.net" will create a cookie that can be accessed from any subdomain of ext.net, including www.ext.net, support.ext.net, etc. |
secure | Specify true to indicate that the cookie should only be accessible via SSL on a page using the HTTPS protocol. Defaults to false. Note that this will only work if the page calling this code uses the HTTPS protocol, otherwise the cookie will be created with default options. |
◆ ToScript()
override string Ext.Net.Cookies.ToScript |
( |
| ) |
|
|
inlinevirtual |
◆ InstanceOf
override string Ext.Net.Cookies.InstanceOf |
|
get |
The documentation for this class was generated from the following file: