[Maypole] URL reconstruction
Simon Cozens
simon@simon-cozens.org
Wed, 5 May 2004 06:10:34 +0100
Jesse Sheidlower:
> The authentication doc page discusses how to reconstruct the URL
> in a template, like so:
>
> [% SET args = request.args.join("/"); %]
> ...
> <FORM ACTION="[% base %]/[%request.table%]/[% request.action %]/[%args%]">
>
> So that one can, for example, take a detour to a login page and go
> back to where you came from.
[% request.path %] is the new way of doing things. It's in the manual
somewhere, but should probably be made explicit in a Request chapter recipe.
--
The Blit is a nice terminal, but it runs emacs.