node-XMLHttpRequest icon indicating copy to clipboard operation
node-XMLHttpRequest copied to clipboard

persisted cookies idea

Open keverw opened this issue 13 years ago • 1 comments

Hey. I seen persisted cookies were on the todo list. Just wanted to jot down a idea I had for this.

A option to disable them, also have a jar. So before making the request I can create a jar, empty, delete the jar when done? Similar to https://github.com/mikeal/request I guess. Not sure now this goes with the WC3 spec but this would most likey be similar to browser settings. For Example this would be useful if a app needed multiple jars for different users. Maybe a proxy server for example would have a random Id for the user and store cookies on it behalf on the server, then say they are inactive for 10 min or close out it would delete the jar.

keverw avatar Sep 06 '12 07:09 keverw

I've developed a companion Node module XMLHttpRequest-Cookie (see https://npmjs.org/package/xmlhttprequest-cookie) which wraps round this Node XMLHttpRequest module and adds full and automatic Cookie support.

rse avatar Dec 14 '13 18:12 rse