one question:
def user():
    if request.args(0) == 'logout':
        db(query).delete()
    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="")

On 12 Jan., 22:55, pk <[email protected]> wrote:
> super thanks so much! :)
>
> On 12 Jan., 22:45, Bruno Rocha <[email protected]> wrote:
>
>
>
>
>
>
>
> > Ops, Sorry, Copy & Paste mistake!
>
> > forget my last mail.
>
> > This the code
> > <code in default.py>
> > def user():
> >     if request.args(0) == 'logout':
> >         #do something here
> >         db(query).delete()
> >     return dict(form=auth())
> > </code>
> > --
>
> > Bruno Rochahttp://about.me/rochacbruno/bio

Reply via email to