[ic] problems with mixed case usernames

Eros Shop info at eros-shop.co.uk
Sat Apr 10 17:05:54 EDT 2004

At 21:08 10/04/2004, you wrote:
> > From: interchange-users-bounces at icdevgroup.org
> > bounces at icdevgroup.org] On Behalf Of Eros Shop
> >
> > Hi All,
> >
> > It seems that a lot of my users/customers are forgetful when it comes
> > their login details and despite the provision of a means to retrieve
> > logon details by email they tend to opt for creating a new account.
> >
> > After a bit of investigation, it appears that this all boils down to
> > case of the letters in the username. IC appears to see "Mark" and
> > as
> > different when it comes to username/account creation and I wondered if
> > was possible to make the process case insensitive or forced lowercase?
> >
> > Many thanks
> >
> > Mark
> >
>Check the ignore_case parameter for the new account function.

Thanks for the pointer Ron,

Sadly I'm not on the ball as much as I thought I was and I don't see how to 
use any of this with my login.html and new_account.html files :(

I'm going to have to resort to the basics....

Given this stripped back form in login.html, how would I make it case 

<FORM ACTION="[process secure=1]" METHOD=POST>
<INPUT TYPE=hidden NAME=mv_todo  VALUE=return>
<INPUT TYPE=hidden NAME=mv_click VALUE=Login>
<INPUT TYPE=hidden NAME=mv_failpage VALUE="login">
<INPUT TYPE=hidden NAME=mv_successpage VALUE="[either][scratchd 
<INPUT TYPE=hidden NAME=mv_nextpage VALUE="index">
<input type=hidden name=mv_session_id value="[data session id]">
<INPUT NAME=mv_username VALUE="[read-cookie MV_USERNAME]">
<INPUT TYPE=text NAME=mv_password VALUE="">
<input type="image" value="Log In" src="__THEME_IMG_DIR__login_button.gif" 
border=0 alt="Log In">

Below is new_account.html, pretty much untouched from the foundation 
version, what needs to be done?

[if session logged_in][bounce href="[area account]"][/if]
[if !scratch new]

[if session failure]
   <b>[data session failure]</b>
   [data base=session field=failure value=""]

[set new][/set]

<table border="0" cellspacing="0" cellpadding="0">

[set NewAccount]
[if type=explicit compare="[userdb new_account]"]

<FORM ACTION="[process-target]" METHOD=POST>
<input type=hidden name=mv_session_id value="[data session id]">
<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>

     <table border="0" align="center">
       <td class="contentbar2">
         <table border="0" cellspacing="0" cellpadding="2" align="center">
         <tr class="contentbar2">
           <td colspan="2" align=center><B>Create A New Eros Shop 
         <tr class="contentbar1">
           <td align="right"><b>&nbsp;Username</b>:&nbsp;</td>
           <td align="left"><input type="text" NAME=mv_username VALUE=""></td>
         <tr class="contentbar1">
           <td align="right"><b>&nbsp;Password</b>:&nbsp;</td>
           <td align="left"><INPUT TYPE=text NAME=mv_password VALUE=""></td>
         <tr class="contentbar1">
           <td align="right"><b>&nbsp;Verify Password</b>:&nbsp;</td>
           <td align="left"><INPUT TYPE=text NAME=mv_verify VALUE=""></td>
         <tr class="contentbar1">
           <td colspan="2" align="center">
            <INPUT TYPE="image" VALUE="Create Account" 
src="__THEME_IMG_DIR__createaccount_button.gif" border=0 alt="Create Account">

Many thanks


Eros Shop
vwe internet ltd
PO BOX 1067

Shop - http://www.eros-shop.co.uk
EMail - info at eros-shop.co.uk
Tel - 0870 737 3369
Fax - 0870 737 4469

More information about the interchange-users mailing list