MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Logout on order-submit



******    message to minivend-users from Barry Treahy <treahy@mmaz.com>     ******

Gideon,


> This is what I tried:
>
> <INPUT TYPE=hidden NAME=mv_click VALUE="Log_out">
>
> [set Log_out]
> mv_subroutine=userdb
> mv_arg0=LITERAL(logout)
> mv_username=[value mv_username]
> [/set]
>
>

This is what I have that seems to work:

[set Log Out]
mv_doit=refresh
mv_todo=cancel
mv_nextpage=login
[userdb function=logout]
mv_username=""
mv_password=""
mv_verify=""
[/set]

    <FORM ACTION="[process-target]" METHOD="POST">

    <P>If you <INPUT TYPE="submit" NAME="mv_click" VALUE="Log Out">, you will empty your current
basket and logout of the system.</P>

    <P>If you wish to resume shopping, <INPUT TYPE="button" ONCLICK="history.go(-1);"
VALUE="Resume"> or press your browsers backup button.

    </FORM>
    </CENTER>
  </BODY>
</HTML>


Barry

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: