Request/Response Attributes problem (wodSFTP / wodSFTP.NET / wodSFTPdll)
Hi,
what i done wrong ?
Dim oHttpResponseCookie As HttpCookie
Dim oHttpRequestCookie As HttpCookie
Dim oHttpResponseAttribute As HttpHeader
Dim oHttpRequestAttribute As HttpHeader
'copy cookies
If goHttpCom.Response.Cookies.Count > 0 Then
goHttpCom.Request.Cookies.RemoveAll
For Each oHttpResponseCookie In goHttpCom.Response.Cookies
Set oHttpRequestCookie = goHttpCom.Request.Cookies.Add(oHttpResponseCookie.Name, oHttpResponseCookie.Value)
For Each oHttpResponseAttribute In oHttpResponseCookie.Attributes
Set oHttpRequestAttribute = oHttpRequestCookie.Attributes.Add(oHttpResponseAttribute.Name, oHttpResponseAttribute.Value)
Next
Next
End If
Server tries to set these cookies with these attributes:
Set-cookie: ~session=SDSK1:10.217.123.107:0000.0179.0615c4d7; domain=219.4.106; path=/scripts/wgate/zvsdp_create4cb7027b/
Set-cookie: ~http_content_charset=Windows-1250; path=/scripts/wgate/zvsdp_create4cb7027b/
Set-cookie: MYSAPSSO=kg7xBTFVvZPQHEtkYcLS3BPgPiZp2XbIMCC5ti!ithlyH!EJqbe3Uj3Yebw/; path=/; secure
End after my applying of copy cookies and attributes I sent this:
Cookie: ~session=SDSK1:10.217.123.107:0000.0179.0615c4d7; ~http_content_charset=Windows-1250; MYSAPSSO=kg7xBTFVvZPQHEtkYcLS3BPgPiZp2XbIMCC5ti!ithlyH!EJqbe3Uj3Yebw/
Where are copied attributes ? Did I see them in debug file ?
Complete thread:
- Request/Response Attributes problem - Tirex, 2005-03-18, 15:14
- Re: Request/Response Attributes problem - wodSupport, 2005-03-18, 15:55