But, if you would like to have more traditional URLs in addition to the continuation/cryptic ones, you can use the web-server/dispatch library:<div><br></div><div><a href="http://docs.racket-lang.org/web-server/dispatch.html">http://docs.racket-lang.org/web-server/dispatch.html</a></div>
<div><br></div><div>It starts with a bit of guide to orient you before the reference manual.</div><div><br></div><div>It allows you to create URLs like</div><div><br></div><div>/posts/456</div><div><br></div><div>and if during the generation of that page you hit a continuation operation, the URL will be something like</div>
<div><br></div><div><div>/posts/456;gobbledygook</div><div><br></div><div>where the last &quot;clean&quot; URL is inside of the current &quot;ugly&quot; URL.</div><div><br></div><div>I find that most people want to mostly use web-server/dispatch but occasionally use continuations for the sequential computations in their Web app.</div>
<div><br></div><div>Jay</div><div><br></div><div class="gmail_quote">On Sat, Dec 17, 2011 at 11:39 AM, Shriram Krishnamurthi <span dir="ltr">&lt;<a href="mailto:sk@cs.brown.edu">sk@cs.brown.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi R. Noob,<br>
<div class="im"><br>
&gt; Do the URLs of pages that use continuation<br>
&gt; mechanism have to look ugly and cryptic?<br>
<br>
</div>Yes they do.  The URLs are ugly *because* they are cryptic.  They are<br>
cryptic because it is a route to system security.  If they were<br>
pretty, people could guess them, and that would adversely affect<br>
security in a huge way.<br>
<br>
Incidentally, this is something we stressed from the very beginning<br>
(~late 2000).  It meant that certain kinds of Web attacks over which<br>
people and Web sites spent a great deal of time (such as CSRF attacks)<br>
could simply never occur for systems built atop the PLT Web server.<br>
<br>
This idea is also incorporated into Google&#39;s Belay project:<br>
<br>
<a href="https://sites.google.com/site/belayresearchproject/" target="_blank">https://sites.google.com/site/belayresearchproject/</a><br>
<br>
If you look at the list of features they state, essentially every<br>
single one of these maps onto &quot;ugly and cryptic&quot; URLs.<br>
<font color="#888888"><br>
Shriram<br>
</font><div><div></div><div class="h5"><br>
_________________________________________________<br>
  For list-related administrative tasks:<br>
  <a href="http://lists.racket-lang.org/listinfo/users" target="_blank">http://lists.racket-lang.org/listinfo/users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jay McCarthy &lt;<a href="mailto:jay@cs.byu.edu" target="_blank">jay@cs.byu.edu</a>&gt;<br>Assistant Professor / Brigham Young University<br><a href="http://faculty.cs.byu.edu/~jay" target="_blank">http://faculty.cs.byu.edu/~jay</a><br>
<br>&quot;The glory of God is Intelligence&quot; - D&amp;C 93<br>
</div>