0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 04:30:25 +00:00

Add cookie example

This commit is contained in:
Loïc Hoguin 2012-12-20 14:40:22 +01:00
parent 659ca05c54
commit a07d063fd8
10 changed files with 159 additions and 0 deletions

18
examples/cookie/README.md Normal file
View file

@ -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!