[ic] i'm stupid.

Ed LaFrance edl@newmediaems.com
Mon, 22 Jan 2001 08:51:58 -0800


At 08:48 AM 1/22/01 -0800, you wrote:
>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)?
>
>         -Bill

No, the Login block is called by <input type=hidden name=mv_click 
value=Login> when the form is submitted.

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