[ic] New Account Creation Failure

Russ Mann interchange-users@lists.akopia.com
Tue May 22 17:47:00 2001


The pertinant code in the construct demo is this:

	<FORM ACTION="[process-target]" METHOD=POST>
	<INPUT TYPE=hidden NAME=mv_click VALUE=NewAccount>
	<INPUT TYPE=hidden NAME=mv_doit  VALUE=return>
	<INPUT TYPE=hidden NAME=function  VALUE=new_account>
	<INPUT TYPE=hidden NAME=mv_nextpage VALUE=ord/basket>

Changing this to mv_check does not seem to make any difference.  I don't
think it is using previous session variables, because I then also tried to
create an account from a different browser (NS) and it couldn't create a new
account.  I also tried from a different computer/ip/browser altogether.

Russ

><form action="[process-target]" method="post">
><input type="hidden" name="mv_click" value="NewAccount">

Here is your problem, I believe.  The above input should be an mv_check,
which will be called after the form variables are updated; NOT mv_click,
which is called before the form variables are updated.  The way this is
now, IC will try to create the account before the values of mv_username and
mv_password are even read into the session, and in your case that might
mean using old leftover values from the previous login.

- Ed L>