suve

awful: function: cookie-dict

Declaration

dict :cookie-dict

Summary

Returns a dictionary containing all HTTP Cookies sent by the client.

Example

# Cookie dict example.
:set &CAKE :cookie-dict
!if :seq $CAKE[s'user'] =NIL
    :writeln s'Not logged in'
    !else
    :writeln s'Hi <b>' $CAKE[s'name'] s'!</b>'
    !fi

wikipage modified on 2014/0601/2316