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:
parent
659ca05c54
commit
a07d063fd8
10 changed files with 159 additions and 0 deletions
18
examples/cookie/README.md
Normal file
18
examples/cookie/README.md
Normal 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!
|
Loading…
Add table
Add a link
Reference in a new issue