From a07d063fd8fc8a1cfadcb35cc89e190695773fe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 20 Dec 2012 14:40:22 +0100 Subject: Add cookie example --- examples/cookie/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 examples/cookie/README.md (limited to 'examples/cookie/README.md') diff --git a/examples/cookie/README.md b/examples/cookie/README.md new file mode 100644 index 0000000..cb6465f --- /dev/null +++ b/examples/cookie/README.md @@ -0,0 +1,18 @@ +Cowboy Cookie +============= + +To compile this example you need rebar in your PATH. + +Type the following command: +``` +$ rebar get-deps compile +``` + +You can then start the Erlang node with the following command: +``` +./start.sh +``` + +Then point your browser to the indicated URL. This example allows +you to use any path you want to try to show that cookies are defined +site-wide. Try it in your browser! -- cgit v1.2.3