MiniVend Akopia Services

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

Re: Go to checkout only if login is successful



******    message to minivend-users from Marius Schaefer <maillist@b-p-a.com>     ******

Hi,

I use this solution with a passord login, but I think you can translate it to the userdb-login...
Yes, it _is_ insecure, but the password is a shareable password for resellers.

-------------------------------- Snirp (/hshop/index.html) ----------------------------------
[set mv_put_session]Yes[/set]

[if value login_passwort ne "thisismypassword"]
[then]
L O G I N<br><br>
 <FORM ACTION="[process-target]" METHOD="POST">
 <INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]">
 <INPUT TYPE="hidden" NAME="mv_doit" VALUE="return">
 <INPUT TYPE="hidden" NAME="mv_nextpage" VALUE="/hshop/index">
Passwort:<input type="password" name="login_passwort" value="">
<input type=submit value="Login">
</form>
[/then]
[else]
[comment] if successfull move to new page [/comment]
[tag op=header interpolate=1]
Status: 302 moved
Location: [area href="hshop/login"]
[/tag]
[goto END]
[/else]
[/if]

</BODY>
</HTML>

[label END]

-------------------------------- Snirp -------------------------------------------

Gideon van Gelder wrote:

> ******    message to minivend-users from "Gideon van Gelder" <gideon@swingmaster.nl>     ******
>
> Hi All,
>
> There's a problem I can't seem to solve:
> I want all my customers to successfully login to the UserDB before they can
> enter the checkout page.
> If the login fails, I want them to again see the login-page again stating
> the [data session failure], not the checkout-page.
>
> Any ideas ?
>
> Thanks in advance,
>
> -Gideon
>
> -
> 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

-
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: