NIL :cookie-prepare
Not available in CGI mode.
In CGI mode, this function is called automatically upon interpreter start. Performing a user call does nothing.
Retrieves HTTP Cookies (by accessing the HTTP-COOKIE
environmental variable) and breaks it into name-value pairs. Must be called before using using any other :cookie-
functions.
# Webpage with user-selectable layouts may use this. :cookie-prepare !if :cookie-is s'layout' :set &LAYOUT :cookie-val s'layout' !else :set &LAYOUT s'blue' !fi :print-layout $LAYOUT
wikipage modified on 2014/0601/2317