1. PL_GETVAR a1 FROM a2 THEN/ELSE 2. PL_GETHDR a1 from a2 THEN/ELSE 3. PL_ISVAR a1 FROM a2 4. PL_PUTVAR a1 IN a2 THEN/ELSE 5. PL_SETVAR a1 TO a2 THEN/ELSE 6. PL_GET_COOKIE a1 FROM a2 THEN/ELSE 7. PL_SET_COOKIE a1 TO a2 8. PL_ADD_HDR a1 9. PL_PR a1 10. PL_PRINT a1 11. PL_PRSTATE a1
The ELSE clause will execute if there is no form variable a2.
The ELSE clause will execute if there is no head field named a2.
If multiple header fields are named a2, then the result will be a dynamic array with multiple values seperated by value marks.
The ELSE clause will execute if there is no existing form variable a2.
The ELSE clause will execute if there is no existing form variable a2.
The ELSE clause will execute if the cookie does not exist.
Cookies have limitations as to what types of data and how much data can be stored. You should keep cookie sizes as small as practical. You also cannot store binary data in cookies which precludes the direct storage of MultiValue delimiter characters. If you need to store MultiValue dynamic arrays, you can convert them to hex strings and then store those strings. Cookies should not be used to store more than 1K in a single cookie or more than 4K for a single web site.
The stored cookie is not persistent and will expire when the browser is exited. Use PL_ADD_HDR ... to set persistent cookies.
PRINT 'this is a message' :
PRINT 'this is a message'
{INCLUDE _GEN_FTR.HTM}