[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: login-procedure
****** message to minivend-users from "Thomas 'Balu' Walter" <tw@iTreff.DE> ******
* Hans-Joachim Leidinger (hans-joachim.leidinger@home.gelsen-net.de) [01.06.99 23:36]:
> i have compare your code with my code! I see the setting of mv_username
> is not right or maybe the result of your Runtime error. I have rewrite
> your code (see below) and i hope, its help you!
Sorry, Hans-Joachim - there is no difference :(
Any other ideas?
Balu
>
> [comment]<!-- Login-Prozedur -->[/comment]<hr><br>
> [if session logged_in]
> [then][comment]<!-- logged in already -->[/comment]
> <FORM ACTION="[process-target]" METHOD=POST>
> LOGOUT>BR>
> Hallo [value name]! You are logged in as user [value
> mv_username].<BR>
> <INPUT TYPE=hidden NAME=mv_click VALUE="Log out">
> <INPUT TYPE=submit NAME="mv_click" VALUE="Log out">
> <A HREF="[area new_account]">preferences</A>
> </FORM>
> [set Log out]
> mv_todo=return
>
> mv_nextpage=####### YOURNEXTPAGE ? ######
>
> [userdb function=logout clear=1]
>
> mv_username=[value mv_username]
>
> [/set]
> [/then]
> [else] [comment]<!-- login or create new account -->[/comment]
> LOG IN<BR>
> [set Login]
> mv_todo=return
> mv_nextpage=welcome
> [userdb function=login]
> [/set]
>
> [if session failure]
> [data session failure]
> [/if]
>
> <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=mv_nextpage VALUE="###### YOUR NEXTPAGE
> #######">
>
> User <INPUT NAME=mv_username VALUE="[value mv_username]"
> SIZE=10><br>
> -------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^
> Pass <INPUT TYPE=password NAME=mv_password VALUE="" SIZE=10>
> -------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^
> <INPUT TYPE=submit VALUE="Log In">
> <A HREF="[area new_account]"><font color="#ffffff">neuen Account
> erstellen<
> </FORM>
>
> [/else]
> [/if]
-
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