Hello everyone, I'm glad I found this community.
I have a rather strange problem.
I have a page protected by basic authentication and I need to read the username used for that on client side (e.g I go to that page, I type the username and the password, get access then I got an alert('Your username is [what I typed]')).
I didn't find anywhere a way to access basic authentication information from Javascript, so I thought I may ask here.
Thanks.
I have a rather strange problem.
I have a page protected by basic authentication and I need to read the username used for that on client side (e.g I go to that page, I type the username and the password, get access then I got an alert('Your username is [what I typed]')).
I didn't find anywhere a way to access basic authentication information from Javascript, so I thought I may ask here.
Thanks.
Comment