[ic] ssl submission at button level (not form level)?

Richard Seymour interchange-users@interchange.redhat.com
Mon Sep 3 13:34:00 2001


I don't know if this is possible. Maybe someone here has some ideas.

User is at a form in non-secure mode and hits a "complete transaction"
button on a form which has a "action=[process-order secure=1]" tag. All
is well (the user goes to an ssl page to continue). BUT if I want the
user to hit a button labled "continue shopping" on the same form, the
user should be directed back to the general order page (or wherever),
but NOT via ssl. What I'm getting is the user goes to the shopping page
(good) but with an "https://" based URL (bad).

I could move the "continue shopping" button to a link outside the form,
or another form. But is there a way to do this with just one form. That
is something like (I know this syntax doesn't work, but...):

[set complete transaction]
mv_todo=return
mv_nextpage=ord/payments
mv_secure=Yes! Make this secure. Do it!
[/set]

[set continue shopping]
mv_todo=return
mv_nextpage=somewhere
mv_secure=Nope! I don't want this to be secure, not at all, thanks!
[/set]

-- 
Richard Seymour : Anarchy Software, Inc.
- * - - * - - - * -+- * - - - * - - * -
      `°º¤ø,¸             ¸,ø¤º°'
             `°º¤ø,¸¸,ø¤º°