[ic] access page as a POST (process.html) only
Grant
emailgrant123b at yahoo.com
Sun Jun 13 12:20:21 EDT 2004
--- "New Media E.M.S." <ic_users at newmediaems.com>
wrote:
> At 03:17 PM 5/28/2004, you wrote:
>
> >Is there any built-in way to allow certain pages to
> be
> >accessed as the result of a POST only? If not,
> would
> >this be the best way to do it:
> >
> >[if type="explicit" compare="[data session
> last_url]
> >eq process.html"]
> >REGULAR CONTENT
> >[else]
> >This page can only be accessed as the result of a
> form
> >POST.
> >[/else]
> >[/if]
> >
> >- Grant
>
> The way I usually do this is to put the page in the
> special_pages
> directory, which is outside the catalog's pages
> root, then set mv_nextpage
> in an mv_click which is called with a form:
>
> <form action="[process]" method=post>
> ... # usual stuff
>
> <input type=submit name=mv_click value="Click Me">
> </form>
>
> [set Click Me]
> mv_todo=return
> mv_nextpage=../special_pages/somepage
> [/set]
>
> - Ed
Thanks for your response Ed, that sounds like a tidy
way to do it.
Sorry about my delayed reply. I just got caught up on
my mailing lists.
- Grant
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
More information about the interchange-users
mailing list