Caudium.http_encode_cookie()
 
    NAME
Caudium.http_encode_cookie()

SYNOPSIS
string Caudium.http_encode_cookie(string what);

AVAILABILITY
Caudium 1.3+

DESCRIPTION
Encode the specified string in as to the HTTP Cookie standard. The following characters will be replaced: = , ; % :

string what
The string to encode.

RETURNS
The HTTP cookie encoded string.

EXAMPLE
Pike v7.4 release 1 running Hilfe v3.5 (Incremental Pike Frontend)
> Caudium.http_encode_cookie("CaudiumCookie=Zorglub; expires= baf");
(1) Result: "CaudiumCookie%3DZorglub%3B expires%3D baf"
 
HTML OK CSS