login about faq

As part of evaluation of Chilkat http for Android, I successfully tested with different calls to postXML.

A question: Is there any way (procedure) to keep a session on android using http library, because normally in normal html pages/request, one after login establish a session that's used to keep security, and the browser accepts a session cookie, that expires at end of session. How can i replicate or implement that in native android with chilkat http?

asked May 23 '13 at 11:34

chilkat's gravatar image

chilkat ♦♦
11.8k316358420


The solution is to use the properties relating to caching and sending cookies. See these two examples:

http://www.example-code.com/android/http_memory_cookies.asp

http://www.example-code.com/android/http_persist_cookies.asp

link

answered May 23 '13 at 11:36

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

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:

×186
×7

Asked: May 23 '13 at 11:34

Seen: 901 times

Last updated: May 23 '13 at 11:36

powered by OSQA