Autor Beitrag
Hendi48
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 271



BeitragVerfasst: Mi 03.10.07 12:07 
Hi,
ich möchte gerne dass mein Programm einen Cookie an eine Seite sendet, damit ich per GET auch das was ich will bekomm.
Ich hab meinem IdHTTP schon einen CookieManager hinzugefügt und mit CookieManager1.AddCookie('ID=xxxxxxxxxxxxxxxxxxx','');
versucht es zu übermitteln. Ich hab mal in WireShark gekuckt wie das richtig aussieht, da ist noch eine andere Zeile in dem GET: Cookie: ID=xxxxxxxxxxxxxxxxxxx
welche bei meinem GET einfach nicht da ist. Was muss ich machen damit die bei mir auch erscheint?
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mi 03.10.07 12:37 
Das mit dem CookieManager ist schon mal richtig.
Du musst aber schauen, dass das Cookie auch für die richtige Domain eingetragen wurde, da es sonst nicht mitgesendet wird.

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Hendi48 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 271



BeitragVerfasst: Mi 03.10.07 21:57 
Ah, stimmt das muss noch rein, danke es geht!