diff options
author | Loïc Hoguin <[email protected]> | 2012-12-20 14:40:22 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-12-20 14:40:22 +0100 |
commit | a07d063fd8fc8a1cfadcb35cc89e190695773fe8 (patch) | |
tree | b1f9c4540b8ecdc43538945f6371177b48d3b1b5 /examples/cookie/README.md | |
parent | 659ca05c546ed8b537fe0d36cf5520ad0bc62a0f (diff) | |
download | cowboy-a07d063fd8fc8a1cfadcb35cc89e190695773fe8.tar.gz cowboy-a07d063fd8fc8a1cfadcb35cc89e190695773fe8.tar.bz2 cowboy-a07d063fd8fc8a1cfadcb35cc89e190695773fe8.zip |
Add cookie example
Diffstat (limited to 'examples/cookie/README.md')
-rw-r--r-- | examples/cookie/README.md | 18 |
1 files changed, 18 insertions, 0 deletions
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! |