Torsten,

So I would create the WebdavResource(url), catch the exception I *know*
I'm going to get, get the HttpClient, set the cookie, and try again?  It would
be nice if I could set that cookie in HttpURL before I made the connection,
sort of like HttpURL.setUserInfo().

I can't even figure out how to set the cookie.

Thanks for the pointer, although I'm not sure I'll be able to get this working.

--Joachim


At 10:06 PM 7/10/2003 +0200, you wrote:
Joachim,

>> Is there any way to add a cookie to the request using WebdavResource?

Give getSessionInstance (method inherited from WebdavSession) a try. I
remember having done some work on that end when I was working on
introducing proxy authentication to the Slide Webdav client library. But
I am by no means sure if this will hand you the one and only session so
that if you modify it the modified instance will be used by the next
call or if it will just create a new one for you so you'll modify your
personal copy which is not going to help you a lot.

Torsten

-----Urspr�ngliche Nachricht-----
Von: Joachim Martin [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 10. Juli 2003 21:57
An: [EMAIL PROTECTED]
Betreff: Client: access to underlying HTTP request connection?

Hi,

I need to add an HTTP Cookie to my WebDAV request.  We have a
single-signon
system that is cookie based, and I need to send a cookie along with the
request to the WebDAV server.

Is there any way to add a cookie to the request using WebdavResource?

Thanks --Joachim


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to