Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Passing a cookie back to the server

From: gjones05:mail:orion at: 9-Jun-2001 9:05

From: "GS Jones"
> I should be able to get a much closer look at > it this weekend and test it like it > should have been before posting it to the list!! > > Do feel free to give me feedback, though. :-)
Hi, Graham, et al, The following types of syntax work. a: read/custom [ cookie "TestCookie=Test+Value" post "field=MyField"] c: "TestCookie=Test+Value" b: "field=MyField" a: read/custom reduce [ 'cookie c 'post b] a: read/custom reduce [ 'cookie "TestCookie=Test+Value" 'post b] a: read/custom reduce [ 'cookie c 'post "field=MyField"] Reversing the order of 'cookie and 'post doesn't matter. All in all it works better than I figured for a first shot. I will warn though that in the wild (the "real" Internet), I've had less success finding a site that takes cookies and has a simple enough form to check. As examples, eBay combinations of cookies and forms appear to work with limited testing, but Yahoo sign-in is a mess because of all the cross checks they do (it would take longer to set up the test than it took to hack the http scheme!). I really am interested in gettin feedback. Meahwhile, I will do more thinking and checking on the other things that would be nice to have that I mentioned before. Cheer-ios, --Scott Jones