httpcookie - how to generate a cookie in text file -


i'm wondering if it's possible generate cookie , save in text file. requirement generate cookie domain not own. after cookies plain text "space" , path ("/") seems make bit tricky reproduce using manual programming (e.g not setcookie function ). netscape seems not can't find proof of concept shell/application generate cookie (not get/receive/read curl does) http://curl.haxx.se/rfc/cookie_spec.html i'm looking code snippet see how black magic works because don't understand spaces between parameters . far identified parameters required generate "valid" cookie .

name content host path secure(true or false) http only(true or false) expires(optional) 

of course possible, major browser software it.

update:
curl apparently uses mozilla/firefox cookie format permanent (not session) cookies. here good blog article describing format. writing should matter of writing text file in format.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -