[ic] [userdb function=login]

Kevin Walsh kevin at cursor.biz
Tue Jul 3 14:00:01 EDT 2007

Marco Mescoli <m.mescoli at omnib.it> wrote:
> After this rows
> [seti]
>   [cgi name=mv_username set='[cgi username]']
>   [cgi name=mv_password set='[cgi pw]']
>   [userdb function=login]
> [/seti]
> i can read [data session username] but i cannot browse members_only=1 pages
The above didn't log you in.

Set your username and password using the [value] tag or use the [userdb]
tag's "cgi" parameter.  See here:


Also, you didn't name the [seti] scratchpad variable.  [tmp] would
be better than [seti] for this or, better still, user the [userdb]
tag's "hide" parameter:


The [cgi] and [value] tags also have a "hide" parameter.  I'm sure
that you can guess the link to the docs for those. :-)

By the way, you can cut the whole thing down to size with the

    [userdb function="login" usernme="[cgi username]" password="[cgi pw]" hide=1]

Hmmm - I wonder whether it's a bug that [data session username] got
set using your example.  I'll test that for myself when I get some

   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin at cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/

More information about the interchange-users mailing list