Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 32 lines (22 sloc) 0.555 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
<erl>
out(A) ->
       {ssi, "TAB.inc", "%%",[{"session", "choosen"}]}.
</erl>

<div id="entry">


<h1>The session server</h1>
<p>
The Yaws session server is ideal (and recommended)
for maintaining cookie state
in a server side application.
</p>

<p>The code in <a href="code.yaws?file=/session1.yaws">session1.yaws</a>
  shows a minimalistic way to handle sessions.
  To run it click <a href="session1.yaws">here</a>
</p>

<p>
The actual session API is documented in the man page for yaws_api.
</p>

</div>


<erl>
out(A) -> {ssi, "END2",[],[]}.
</erl>

Something went wrong with that request. Please try again.