[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Login Return Page...
****** message to minivend-users from Hans-Joachim Leidinger <jojo@buchonline.net> ******
Shawn Butler - Blue Planet Corp schrieb:
>
> ****** message to minivend-users from Shawn Butler - Blue Planet Corp <postmaster@thetechpage.com> ******
>
> Do you mean like this?
>
> [set Login]
> [userdb login]
> [/set]
> <FORM ACTION="[area @@MV_PAGE@@]" METHOD=POST>
> <INPUT TYPE=hidden NAME=mv_click VALUE=Login>
> <INPUT TYPE=hidden NAME=mv_doit VALUE=return>
> <INPUT TYPE=hidden NAME=mv_action VALUE=return>
> UserName:<INPUT MAXLENGTH="14" NAME="mv_username" SIZE="12" VALUE="">
> Password :<INPUT MAXLENGTH="14" onChange="this.form.submit()" NAME="mv_password" TYPE="password" SIZE="12">
> <INPUT TYPE=submit VALUE="Log In">
> </FORM>
[DEL]
This
<FORM ACTION="[area @@MV_PAGE@@]" METHOD=POST>
or
this
<FORM ACTION="[area anypage]" METHOD=POST>
works only, if you fetch the CGI-Query-string in the next page. In your
case, I would prefer not to do this.
I use
[set Login]
mv_arg0=function
mv_subroutine=userdb
[/set]
<FORM ACTION="[process-target]" METHOD=POST>
<INPUT TYPE=hidden NAME=mv_click VALUE=Login>
<INPUT TYPE=hidden NAME=mv_doit VALUE=return>
<INPUT TYPE=hidden NAME=function VALUE=new_account>
<INPUT TYPE=hidden NAME=mv_nextpage VALUE=new_account>
Username[/L]<INPUT NAME=mv_username VALUE="[value mv_username]"
SIZE=10>
Password[/L]<INPUT TYPE=password NAME=mv_password VALUE=""
SIZE=10>
Verify[/L]<INPUT TYPE=password
onChange="document.forms[0].submit()"
NAME=mv_verify VALUE="" SIZE=10>
<INPUT TYPE=image SRC="icon/login.gif" BORDER=0 NAME="Login"></TD></TR>
</FORM>
and this works for me. If you are using MV4, how about
[set NewAccount]
[if type=explicit compare="[userdb new_account]"]
mv_nextpage=account
[else]
mv_nextpage=new_account
[/else]
[/if]
[/set]
? If you are using MV3, how about
[if session logged_in]
[tag op=header interpolate=1]
Status: 302 moved
Content-type: text/html
Location: [area href="[area the-next-page]"]
[/tag]
[else]
the new account stuff (like the original stuff)
[/else]
[/if]
Regards,
Joachim
--
-------------Hans-Joachim Leidinger---------------------
-
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