[ic] New Account Creation Failure

Ed LaFrance interchange-users@lists.akopia.com
Tue May 22 17:23:00 2001


At 03:00 PM 05/22/2001 -0600, you wrote:
>[comment]
>ui_template: Yes
>ui_template_name: leftonly
>[/comment]
>
>[set component_after][/set]
>[set members_only]0[/set]
>[set page_banner]Create a New Account[/set]
>[set component_hsize]2[/set]
>[set hbanner][/set]
>[set component_before][/set]
>[set hpromo_type]specials[/set]
>[set page_title]__COMPANY__ - New Account[/set]
>@_LEFTONLY_TOP_@
>
><!-- BEGIN CONTENT -->
><hr noshade color="#000000">
><center><font face="Arial" size="4">Create New Account</font></center>
><hr noshade color="#000000">
><p align="left">
>Creating a new account with the K-House Online Store allows you to save your
>information securely and make
>future shopping experiences easier.  Please see our [page
>help/helpsafeshop]100% Safe Shopping Guarantee</a>
>if you are concerned with saving your information on this website.  Enter
>your <b>e-mail address</b>
>below, and choose a password that you can remember.
></p>
>[if session logged_in][bounce href="[area account]"][/if]
>[if !scratch new]
>[if session failure]
><P>
><font size="2" __FFACE__><b><font color="#880000">[data session
>failure]</font></b></font>
>[data base=session field=failure value=""]
><P>
>[/if]
>
>[else]
>[set new][/set]
>[/else]
>[/if]
><div align="center">
><table width="350" border="1" cellspacing="0" cellpadding="0"
>bordercolor="#18184A" align="center">
>[set NewAccount]
>[if type=explicit compare="[userdb new_account]"]
>mv_nextpage=account
>[else]
>mv_nextpage=new_account
>[/else]
>[/if]
>[/set]
><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>




><input type="hidden" name="mv_doit"  value="return">
><input type="hidden" name="function"  value="new_account">
><input type="hidden" name="mv_nextpage" value="account">
><input type="hidden" name="ignore_case" value="1">
><tr><td>
><table width="350" border="0" cellspacing="0" cellpadding="2">
><tr><td width="81" align="right" bgcolor="#18184A">
><font size="2" __FFACE__><b><font color="#FFFFFF">E-Mail
>Address</font></b></font>
></td><td width="204" bgcolor="#2163BD" align="left">
><input type="text" name="mv_username" value="" size="30">
></td></tr>
><tr><td width="81" align="right" bgcolor="#18184A">
><font color="#FFFFFF" size="2" __FFACE__><font color="#000000"><b><font
>color="#FFFFFF">Password</font></b></font></font></td>
><td width="204" bgcolor="#2163BD" align="left">
><input type="password" name="mv_password" value="" size="30">
></td></tr>
><tr><td width="81" align="right" bgcolor="#18184A">
><p><font __FFACE__ size="2"><b><font color="#FFFFFF" size="2">Verify
>Password</font></b></font></p>
></td>
><td width="204" bgcolor="#2163BD" align="left">
><input type="password" name="mv_verify" value="" size="30">
></td></tr>
><tr bgcolor="#999999"><td colspan="2" align="center">
><input type="hidden" name="mv_cookie_password" value="0">
><input type="submit" value="Create Account">
></td>
></tr>
></table>
></td>
></tr>
></form>
></table>
></div>
>
><!-- END CONTENT -->
>
>@_LEFTONLY_BOTTOM_@
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users

===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================