Here's the relevant part of the code I'm using. I make an ajax call to the 
function below

def ajax_login():
    email = request.vars.email
    password = request.vars.password
    remember_me = request.vars.remember_me

    user = auth.login_bare(email, password)
    if user:
        if remember_me:
            session.auth.expiration = auth.settings.long_expiration
            session.auth.remember = True



-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to