login about faq

I use two CkHttp objects in my application, one QuickGetStr a url which creates some sessions on the http server, then I use the other CkHttp object to access the http server, I cannot access the sessions.

asked Apr 22 '14 at 23:12

wanghatsh's gravatar image

wanghatsh
1233


One possible solution is to set the CookieDir property equal to the same directory path for each object. Set the SendCookies and SaveCookies properties as you desire. For example, perhaps only the object that establishes the session would set SaveCookies = true, and both would set SendCookies = true.

link

answered Apr 23 '14 at 12:59

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

It works after changing CookieDir setting from memory to an actual dir. Now the further question is: How can I share sessions between CkHttp and IE ?

I set CookieDir to {Temporary Internet Files}, where cookie is stored in a plain text file, but CkHttp's cookie in a xml file.

link

answered Apr 24 '14 at 08:57

wanghatsh's gravatar image

wanghatsh
1233

I'm sorry to say there is nothing in Chilkat to share sessions with IE.

link

answered Apr 24 '14 at 12:14

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×17
×7

Asked: Apr 22 '14 at 23:12

Seen: 767 times

Last updated: Apr 24 '14 at 12:14

powered by OSQA