BASIC authentication in .NET

J

James

When using BASIC authentication in a .NET application, with cookie managed
sessionState, do the login credentials have to be sent with each request, or
only with the first one?

What about with Digest?

Thanks!
 
J

Joe Kaplan

Login credentials are sent with each request for both. The server verifies
the credentials with each request. HTTP auth does not use cookies, so HTTP
auth isn't related to cookies.

Why do you ask?

Joe K.
 
J

James

That's what I thought. I have a Java application on a Solaris that is going
to consume .NET web services. It will use Basic authentication. I was
wondering whether I had to maintain a cookie for that, or if I just send the
credentials with every request.

--
James



Joe Kaplan said:
Login credentials are sent with each request for both. The server verifies
the credentials with each request. HTTP auth does not use cookies, so HTTP
auth isn't related to cookies.

Why do you ask?

Joe K.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,266
Messages
2,571,078
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top