I have a situation where I'm currently using Basic authentication (the
server issues a 401, the client pops up its window, etc., etc.).
Instead of having the server send out a 401, I would like to send out
my own page that would create the proper header field for all
subsequent requests from that client. Can such be done with JS? Can
someone point me to an example?
I do not need encoding. This is on an intranet and the authentication
is being used mainly to return different information to different
users as opposed to trying to keep out the "bad guys".
Thanks.
server issues a 401, the client pops up its window, etc., etc.).
Instead of having the server send out a 401, I would like to send out
my own page that would create the proper header field for all
subsequent requests from that client. Can such be done with JS? Can
someone point me to an example?
I do not need encoding. This is on an intranet and the authentication
is being used mainly to return different information to different
users as opposed to trying to keep out the "bad guys".
Thanks.
Comment