yes

def user():
    if request.args(0) == 'logout':
        db(db.nao.userid==auth.user.id).update(ipadress="")
    return dict(form=auth())

On Jan 13, 1:00 pm, pk <[email protected]> wrote:
> hi
>
> one question:
> def user():
>     if request.args(0) == 'logout':
>         query
>     return dict(form=auth())
> what is if i need there the auth.user.id???
>
> this is my query:
> db(db.nao.userid==auth.user.id).update(db.nao.ipadress="")
>
> is this possible? if not how can i do this?
>
> peter

Reply via email to