[plt-scheme] HTML Links
There is nothing built in for this, but you can write your own
dispatcher to install around the standard set to do such URL
rewriting.
BUT, The is a little wrong. A browser can only have one cookie, and
therefore not appropriate to store which continuation is next when
using send/suspend/dispatch. (Also probably not a good idea when using
send/suspend, because the back button would break.)
Jay
On 2/3/07, Hans Oesterholt-Dijkema <hdnews at gawab.com> wrote:
> Or, maybe I'm asking the wrong questions? I'd like to be
> able to convert:
>
> http://some.site.org/a-page.html
> +
> cookie: plt-web-server-session-id-for-this-connection=<some-session-id>
>
> to
>
>
> http://some.site.org/servlets<some-session-id>/some-program.ss?page=a-page
>
> So at the outside, it looks like a normal web page. From the
> inside, we know it isn't so.
>
> --Hans
>
>
> Jay McCarthy schreef:
> > Sorry, I don't understand the questions. See that in what code? How
> > would a continuation be matched with a cookie? Pre and post process
> > request with regards to what?
> >
> > I have just got back from a 10 hour flight plan, so I may be more
> > stupid than usual.
> >
> > Jay
> >
> > On 2/2/07, Hans Oesterholt-Dijkema <hdnews at gawab.com> wrote:
> >> Or could there be a possibility to pre- and post-process the request?
> >>
> >> --Hans
> >>
> >> Hans Oesterholt-Dijkema schreef:
> >> > I see a function (continuation-url?) in the code. Could this
> >> continuation
> >> > matching also be arranged using a cookie?
> >> >
> >> > --Hans
> >> >
> >> >>
> >> >>> 2. Is it possible to hide the /servlet<id>/ thing?
> >> >>
> >> >> Not yet. Sorry.
> >> >>
> >> >> Jay
> >> >>
> >> >
> >> > _________________________________________________
> >> > For list-related administrative tasks:
> >> > http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> >> >
> >> >
> >>
> >>
> >
> >
>
>
--
Jay McCarthy <jay.mccarthy at gmail.com>
http://jay.teammccarthy.org