Revert "Revert "cookies example""

This reverts commit eb456e6baea667f77ca42570bf11d52acee72654.