[REBOL] Re: Passing a cookie back to the server
From: gchiu:compkarori at: 10-Jun-2001 12:14
> 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.
Hi Scott,
As you say, in the wild Internet, things get a little more
complicated.
For instance, when you reach my site, I initially send a
session cookie to the browser. A session cookie is only
supposed to last the life of the browser session. When the
client browser logs in, eg:
a: read/custom http://mysite.co.nz reduce [ 'cookie mycookie
'post {userid=scott&password=etc} ]
I then send another persistent cookie to the browser, and my
site now checks for 2 cookies.
So, read/custom has to also catch all the new cookies coming
down the line. This is what I do in the htpp-tools.r
So, maybe the syntax should be
open/custom http://userid:[password--www--nabisco--com] reduce [
'cookie mycookie 'post data ]
?
--
Graham Chiu