getcookie(
COOKIE
)
The getcookie( function returns the value of a cookie submitted to the server.
Parameters
This function has one parameter:
cookie – name of the cookie to be retrieved. The name is not case sensitive.
Description
This function returns the value of a cookie submitted to the server.
let accountID = getcookie("Account")
If the requested cookie doesn’t exist, empty text will be returned.
Note: This function should only be used in a procedure that is processing a web request, and only works if that request has been routed though an external web server.
See Also
- cgitest -- tests a CGI procedure.
- closeserverfile -- closes the current database (used on the server).
- getcookielist( -- returns a list of cookies submitted to the server.
- info("httprequestinprogress") -- returns true if this code is running on Panorama X Server, and the server is responding to a web client request.
- info("webclientsessioninprogress") -- returns true if this code is running on Panorama X Server, and the server is responding to a web client request.
- openserverfile -- opens a database (used on the server).
- serverrunning( -- returns true if this code is running on a Panorama server, or false if it is running in single user mode or on a client.
- serverstatus( -- returns a dictionary describing the current status of Panorama X Server.
- setcookie -- set the value of a cookie to send back to the client..
- URL Tool Menu (Web Debugging) -- tool with popup menu to assist with debugging web procedures.
- urlfilename( -- extracts the filename from a complete url.
- urlpath( -- extracts the path from a URL.
- Web Cookies -- web cookies.
- Web Error Pages -- customizing the server response when an error occurs.
- webformitemvalue( -- gets the value of a POST web form item (used when processing a web query with Panorama Server).
- webhomesubfolder( -- returns the folder ID of a subfolder of the web server's home folder.
- webimagedisplay( -- used within an Image Display Object to specify both a web image (used when the form is displayed in a web browser from Panorama Server) and a local image file (used when the form is displayed within Panorama).
- webserverinfo( -- retrieves additional information about the web server and the current browser request.
- webshare -- perform record locking operations from a web publishing procedure.
- webtagortext( -- prepares text for display in a web page.
- webtext( -- converts a number or regular text into text encoded for display in a web browser.
History
10.2 | Updated | Carried over from Panorama 6. |