[ic] i'm stupid.

Mike Heins mikeh@minivend.com
Mon, 22 Jan 2001 12:00:53 -0500


Quoting Bill Randle (billr@exgate.tek.com):
> Mike Heins wrote:
> > 
> > Quoting Cameron Germein (cameron.germein@team.eftel.com):
> > >     Can anyone tell me why this following section of code doesn't log me in?
> > > It doesn't even touch the userdb, i can enter whatever i like in those
> > > boxes, and it just goes straight on to the nextpage. I don't understand it.
> > > This is almost precisely what is in the documentation, yet it simply does
> > > nothing. I'm tearing my hair out here :(
> > >
> > > [set Login]
> > > mv_todo=return
> > > mv_nextpage=index
> > > [userdb function=login]
> > > [/set]
> > >
> > > <FORM ACTION="[process-target]" METHOD=POST>
> > > <input type=hidden name=mv_click value=Login>
> > > <INPUT NAME=mv_username SIZE=15>
> > > <INPUT TYPE=password NAME=mv_password SIZE=15>
> > > <INPUT TYPE=submit VALUE="Log in">
> > > </FORM>
> > >
> > 
> > It should. Check the error log and [data session failure] to find out
> > why it doesn't. (Possible problems include the crypt setting.)
> 
> Is it because the submit value is "Log in" (with a space) and the [set] tag
> is using "Login" (without a space)?

Shouldn't be. THe mv_click value is what pertains -- it is "Login".

-- 
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>

Clothes make the man.  Naked people have little or no influence on
society.  -- Mark Twain