GetDecryptedWebCookie (open)

Get an encrypted cookie from the client

Syntax

LOADLIB "mod::system/lib/webserver.whlib";

STRING FUNCTION GetDecryptedWebCookie(STRING name, STRING secretkey)

Parameters

STRING name

Name of the cookie

STRING secretkey

The secret encryption key to use. If empty, the server generated key will be used

Return value

STRING

The contents of the cookie, if we succesfully decrypted and verified it