[plt-scheme] HTML Links

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Mon Jan 29 00:06:40 EST 2007

On 1/28/07, Hans Oesterholt-Dijkema <hdnews at gawab.com> wrote:
> 1. Can I keep a session running, while the user is browsing the website,
>    without the forms? I.e., when the user just clicks html links, will I be
>    able to keep a "connection" over the connection-less http protocol?
>    Should I be doing something, combining send/suspend with a cookie?

(send/suspend/dispatch
 (lambda (embed/url)
  `(html (a ([href ,(embed/url (lambda (request) (other-page)))])
"Normal link"))))

> 2. Is it possible to hide the /servlet<id>/ thing?

Not yet. Sorry.

Jay

-- 
Jay McCarthy <jay.mccarthy at gmail.com>
http://jay.teammccarthy.org


Posted on the users mailing list.