ad_get_signed_cookie_with_expr

EveAndersson.com : API Browser : ad_get_signed_cookie_with_expr

ad_get_signed_cookie_with_expr (public)

ad_get_signed_cookie_with_expr \
    [ -include_set_cookies include_set_cookies ] [ -secret secret ] \
    name
Defined in packages/acs-core/security-procs.tcl

Retrieves a signed cookie. Validates a cookie against its cryptographic signature and insures that the cookie has not expired. Returns a two-element list, the first element of which is the cookie data, and the second element of which is the expiration time. Throws an exception if validation fails.

Switches:
-include_set_cookies (defaults to "t")
-secret (optional)

Parameters:
name
[ show source ]

Show another procedure:

eve@eveandersson.com