Equinox Online Help - Language Reference - A to Z
WebGetCookies |
|
---|---|
Applies to | |
Syntax | WebGetCookies variable |
Action | [Statement]Returns a string of cookies set. |
Scope | Used in method language on an ESP page. |
Notes | Returns a string of the cookies set for the domain you are requesting them from. The cookies are returned in order, starting with the most specific cookie (the cookie set on the page requesting the cookie) and ending with the most generic (possibly a cookie set from a page stored at the root directory). All cookies set for a domain are returned. |
Category | Web Server |
See Also | WebBaseDirectory, WebCurrentPage, WebGetHeader, WebOutput, WebOutputFile, WebParameter, WebPostData, WebRedirect, WebSetCookie, WebSetHeader |
Example | This example will assign all cookies that have been set to a variable called MyCookies. WebGetCookies MyCookies The resulting string will take the following format - in this example, four cookies had previously been set. football=fans; buffer=on; Hello=world; ID=4 |