|
2022-08-28
| ||
| 19:04 | • Closed ticket [548432ffff]: Please handle Cookies plus 4 other changes artifact: e29c04f80b user: kjnash | |
|
2022-05-30
| ||
| 16:47 | • Ticket [548432ffff]: 7 changes artifact: b37319ae76 user: kjnash | |
|
2003-11-13
| ||
| 06:00 | • Ticket [548432ffff]: 1 change artifact: 9ab32316b3 user: dgp | |
|
2002-09-27
| ||
| 05:36 | • Ticket [548432ffff]: 4 changes artifact: 2e1a82d6c5 user: davidw | |
|
2002-04-25
| ||
| 16:42 | • Ticket [548432ffff]: 4 changes artifact: 1b167a96da user: dkf | |
| 04:28 | • New ticket [548432ffff]. artifact: eda4fc2511 user: orwellian | |
Please handle Cookies
Closed548432ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 4 years ago
Descriptionplain2002-04-25 04:28:29
Recently I did some client-side programming to talk with eBay, including handling logging in as a seller. This doesn't work without propagating cookies. I had to write my own cookie remembering code. Since many sites require cookies for various reasons, it would be beneficial if someone enhanced the http:: package to support the propagation of cookies when dealing with a site.
dkfplain2002-04-25 16:42:08
Logged In: YES user_id=79902 Many people get quite up-tight about cookies, more particularly so when you've got persistent cookies about. However, session cookies are not too bad IMO. (Flying a kite) Proposed API: http::config -cookies ?none|session|persistent? Whether to accept cookies http::config -cookiefile ?filename? Where to store persistent cookies http::cookie list ?pattern? List cookies whose creator matches the pattern http::cookie delete ?pattern? Delete cookies whose creator matches the pattern Patterns default to matching all cookies. Don't know format for patterns otherwise (several things you might wish to match against.) Session cookies persist until whatever variable inside the http namespace that stores them gets deleted. :^)
davidwplain2002-09-27 05:36:30
Logged In: YES user_id=240 There is some code in Rivet that does cookie handling. You are welcome to have a look: http://tcl.apache.org/sources/tcl-rivet/rivet/rivet-tcl/ Of course, Rivet takes care of getting the cookies out of the headers, so that part would have to be written elsewhere.
dgp Ticket [548432ffff]: 1 change
[History diff]2003-11-13 06:00:41
kjnashplain2022-05-30 16:47:58
Donal Fellows has implemented cookies in http 2.10 (Tcl 8.7). Please try this new code.
kjnash Closed ticket [548432ffff].
[History diff]2022-08-28 19:04:08
Log in (anonymous is fine) to add a comment.