Googling http://www.peej.co.uk/articles/http-auth-with-html-forms.html

specialy the line   this.http.open("get", this.action, false, username,
password);

All this with javascript pure

But prototype looks like have a issue two years ago, but it need test
https://prototype.lighthouseapp.com/projects/8886/tickets/585-support-http-basic-authentication-in-ajax

2010/5/3 blawson7 <brianleelaw...@gmail.com>

> Can someone show me or point me in the direction of an example/
> tutorial for how to send HTTP authentication information along with
> POST Ajax Request?
>
> I've tried passing them as options --> "username: USER" & "password:
> PASSWD"
>
> Is there something that I'm missing?
>
> I am using prototype throughout my code and I'd hate to have to change
> to jQuery just for this.
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prototype & script.aculo.us" group.
> To post to this group, send email to
> prototype-scriptacul...@googlegroups.com.
> To unsubscribe from this group, send email to
> prototype-scriptaculous+unsubscr...@googlegroups.com<prototype-scriptaculous%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
>


-- 
________________________________________
Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to