[ic] user login dealer test...

Ed LaFrance interchange-users@icdevgroup.org
Fri Aug 9 22:25:01 2002


At 09:08 PM 8/9/2002 -0400, you wrote:
>Quoting Ed LaFrance (edl@newmediaems.com):
> > ...which will evaluate to true only if there is some kind of data in the
> > dealer field. And finally, since all userdb values are loaded at login, 
> you
> > can also do:
> >
> > [if value dealer == 1]
> > ...
> > [else]
> > ...
> > [/else]
> > [/if]
> >
> > ...assuming that [value dealer] has not been mucked with to make it 
> invalid
> > for the current session.
>
>Actually, this line:
>
>UserDB    default    scratch       "dealer price_level credit_limit"
>
>in catalog config says it gets put in Scratch instead. Otherwise someone
>could submit their own form or URL with dealer=1 and get dealer pricing...
>
>--
>Mike Heins

Thanks for the correction, Mike, I had forgotten about that.

- Ed L.


===============================================================
Increase profits from your Interchange store...
http://www.newmediaems.com/cgi-bin/nm/software_fus.html
===============================================================
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
===============================================================