blob: e6faa2b655daee1b6ecca96c8509240925eba971 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Cowboy Cookie Example</title>
</head>
<body>
<h1>Cowboy Cookie Example</h1>
<p>Refresh the page to see the next cookie.</p>
<h2>Cookie Set Server-Side</h2>
<p>{{ server }}</p>
<h2>Cookie Set Client-Side</h2>
<p>{{ client }}</p>
<script type="text/javascript">
// <![CDATA[
document.cookie="client=test=";
// ]]>
</script>
</body>
</html>
|