[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
RE: [ic] matching a variable in the userdb
> it all works fine with a simple [if session logged_in] but the
> userdb lookup
> is posing to be a problem! In the list i´ve found these 2 examples neither
> of which work
>
> [if data userdb::user_restriction::[data session username]]
> and [if value user_restriction]
>
why not load it into a scratch variable at login with:
UserDB default scratch "dealer credit_limit user_restriction"
in the catalog.cfg
and use [if scratch user_restriction] [/if]
Jonathan
Webmaint
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users