javascript - Http Authorization Headers in XMLHTTP Request -
i bit confused how http authorization works.. have website, when hit, asks username , password, need login website in single click.
i came across this:
http://username:password@example.com
but issue isn't working in case of safari chrome , firefox
so trying use xmlhttp request, , send authorization header basic it.
now want find out these credentials stored, because browser ask me username , password once, , rest calls sends on own.
while in case of xmlhttp request, every call forced send header.
is there way out send these headers once , when reload browser logs me in without me asking credentials?
thanks
Comments
Post a Comment