Hi,

This is what I did:

jQuery.ajax({
   type: "POST",
   url: "{{=URL(r=request,c='default', f='user', args='login'}}",
   data: {},
   success: function(response) {
      alert(response); // This line produced a complete page markup in
the alert dialog
   },
   error: failure_callback
 });



On Sep 10, 6:31 am, mdipierro <[email protected]> wrote:
> show us the code
>
> On Sep 9, 10:21 pm, eddwinston <[email protected]> wrote:
>
>
>
> > Hi,
>
> > I am trying to make an ajax login, I am currently sending request to
> > this url: [app]/default/user/login. But it has been fruitless. I just
> > get a full page html markup and the user will not be logged in. Is
> > there a way I can do it?
>
> > Regards,
> > Winston
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to