RE: CFX_HTTP v.1.45 Headers question.
--=_3386203==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed Andy, :O) Ok, now back to business. 1st file: Put this in one file on a CF machine. Replace URL with the URL of the second file. CFX_HTTP URL="#TRIM(ATTRIBUTES.URL)#" AddlHeaders="Cookie: COOKIEONE=1; COOKIETWO=2;" DEBUG 2nd file: CFLOOP COLLECTION="#COOKIE#" ITEM="key" CFOUTPUT#key# is #EVALUATE("COOKIE.#key#")#/CFOUTPUTBR /CFLOOP Thanks for your help, Jeff At 08:59 AM 7/24/2000 -0500, Lester, Andy wrote: Jeff, I haven't done anything with cookies in CFX_HTTP, so I'm not quite sure how passing 'em thru the AddlHeaders will work. Can you send me your test pages and I'll see if I can figure anything out. The irony of BigWords.com using a Follett custom tag is not lost on me. :-) Andy -- Andy Lester [EMAIL PROTECTED] -Original Message- From: !jeff! [mailto:[EMAIL PROTECTED]] Sent: Friday, July 21, 2000 7:01 PM To: [EMAIL PROTECTED] Subject: CFX_HTTP v.1.45 Headers question. CFX_HTTP v1.45 Question: I want to send cookie headers. Unfortunately, CFX_HTTP seems to be sending the cookie header that CF normally sends, and ignores my ADDlHeaders call. Is this the correct syntax, or am I doing something wrong? CFX_HTTP URL="#TRIM(ATTRIBUTES.URL)#" AddlHeaders="Cookie: COOKIEONE=1" DEBUG CFX_HTTP Execution Time = 47 ms CFX_HTTP v1.45 Copyright 1999 Follett Software Company Created Results query. Processed all attributes. Timeout is set to 0 ms Created HTTP Connection Opened request Added headers: [Cookie: COOKIEONE=1] Sent request Populated results query Closed all sessions the page that I'm accessign simply outputs all the COOKIES it receives: CFID is 1680 CFTOKEN is 97398246 SESSIONDTS is {ts '2000-07-20 17:30:24'} !j! The mark of mediocrity is searching for the precedent. !jeff! sherwood Director of BIGWORDS.com Web Site Design / JEDI BIGWORDS.com worker#2 .r.e.c.o.v.e.r.e.d.n.e.t.s.c.a.p.e.u.s.e.r. . . . 415.543.1400.x300 !j! The mark of mediocrity is searching for the precedent. !jeff! sherwood Director of BIGWORDS.com Web Site Design / JEDI BIGWORDS.com worker#2 .r.e.c.o.v.e.r.e.d.n.e.t.s.c.a.p.e.u.s.e.r. . . . 415.543.1400.x300 --=_343018828==_.ALT Content-Type: text/html; charset="us-ascii" Andy, :O) Ok, now back to business. 1st file: Put this in one file on a CF machine. Replace URL with the URL of the second file. CFX_HTTP URL="#TRIM(ATTRIBUTES.URL)#" AddlHeaders="Cookie: COOKIEONE=1; COOKIETWO=2;" DEBUG 2nd file: CFLOOP COLLECTION="#COOKIE#" ITEM="key" CFOUTPUT#key# is #EVALUATE("COOKIE.#key#")#/CFOUTPUTBR /CFLOOP Thanks for your help, Jeff At 08:59 AM 7/24/2000 -0500, Lester, Andy wrote: Jeff, I haven't done anything with cookies in CFX_HTTP, so I'm not quite sure how passing 'em thru the AddlHeaders will work. Can you send me your test pages and I'll see if I can figure anything out. The irony of BigWords.com using a Follett custom tag is not lost on me. :-) Andy -- Andy Lester [EMAIL PROTECTED] -Original Message- From: !jeff! [mailto:[EMAIL PROTECTED]] Sent: Friday, July 21, 2000 7:01 PM To: [EMAIL PROTECTED] Subject: CFX_HTTP v.1.45 Headers question. CFX_HTTP v1.45 Question: I want to send cookie headers. Unfortunately, CFX_HTTP seems to be sending the cookie header that CF normally sends, and ignores my ADDlHeaders call. Is this the correct syntax, or am I doing something wrong? CFX_HTTP URL="#TRIM(ATTRIBUTES.URL)#" AddlHeaders="Cookie: COOKIEONE=1" DEBUG CFX_HTTP Execution Time = 47 ms CFX_HTTP v1.45 Copyright 1999 Follett Software Company Created Results query. Processed all attributes. Timeout is set to 0 ms Created HTTP Connection Opened request Added headers: [Cookie: COOKIEONE=1] Sent request Populated results query Closed all sessions the page that I'm accessign simply outputs all the COOKIES it receives: CFID is 1680 CFTOKEN is 97398246 SESSIONDTS is {ts '2000-07-20 17:30:24'} !j! The mark of mediocrity is searching for the precedent. !jeff! sherwood Director of BIGWORDS.com Web Site Design / JEDI BIGWORDS.com worker#2 .r.e.c.o.v.e.r.e.d.n.e.t.s.c.a.p.e.u.s.e.r. . . . 415.543.1400.x300 !j! The mark of mediocrity is searching for the precedent. !jeff! sherwood Director of BIGWORDS.com Web Site Design / JEDI BIGWORDS.com worker#2 .r.e.c.o.v.e.r.e.d.n.e.t.s.c.a.p.e.u.s.e.r. . . . 415.543.1400.x300 --=_343018828==_.ALT-- -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL
RE: CFX_HTTP v.1.45 Headers question.
--=_343018828==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed Andy, :O) Ok, now back to business. 1st file: Put this in one file on a CF machine. Replace URL with the URL of the second file. CFX_HTTP URL="#TRIM(ATTRIBUTES.URL)#" AddlHeaders="Cookie: COOKIEONE=1; COOKIETWO=2;" DEBUG 2nd file: CFLOOP COLLECTION="#COOKIE#" ITEM="key" CFOUTPUT#key# is #EVALUATE("COOKIE.#key#")#/CFOUTPUTBR /CFLOOP Thanks for your help, Jeff At 08:59 AM 7/24/2000 -0500, Lester, Andy wrote: Jeff, I haven't done anything with cookies in CFX_HTTP, so I'm not quite sure how passing 'em thru the AddlHeaders will work. Can you send me your test pages and I'll see if I can figure anything out. The irony of BigWords.com using a Follett custom tag is not lost on me. :-) Andy -- Andy Lester [EMAIL PROTECTED] -Original Message- From: !jeff! [mailto:[EMAIL PROTECTED]] Sent: Friday, July 21, 2000 7:01 PM To: [EMAIL PROTECTED] Subject: CFX_HTTP v.1.45 Headers question. CFX_HTTP v1.45 Question: I want to send cookie headers. Unfortunately, CFX_HTTP seems to be sending the cookie header that CF normally sends, and ignores my ADDlHeaders call. Is this the correct syntax, or am I doing something wrong? CFX_HTTP URL="#TRIM(ATTRIBUTES.URL)#" AddlHeaders="Cookie: COOKIEONE=1" DEBUG CFX_HTTP Execution Time = 47 ms CFX_HTTP v1.45 Copyright 1999 Follett Software Company Created Results query. Processed all attributes. Timeout is set to 0 ms Created HTTP Connection Opened request Added headers: [Cookie: COOKIEONE=1] Sent request Populated results query Closed all sessions the page that I'm accessign simply outputs all the COOKIES it receives: CFID is 1680 CFTOKEN is 97398246 SESSIONDTS is {ts '2000-07-20 17:30:24'} !j! The mark of mediocrity is searching for the precedent. !jeff! sherwood Director of BIGWORDS.com Web Site Design / JEDI BIGWORDS.com worker#2 .r.e.c.o.v.e.r.e.d.n.e.t.s.c.a.p.e.u.s.e.r. . . . 415.543.1400.x300 !j! The mark of mediocrity is searching for the precedent. !jeff! sherwood Director of BIGWORDS.com Web Site Design / JEDI BIGWORDS.com worker#2 .r.e.c.o.v.e.r.e.d.n.e.t.s.c.a.p.e.u.s.e.r. . . . 415.543.1400.x300 --=_343018828==_.ALT Content-Type: text/html; charset="us-ascii" html Andy,br br tt:O)br br /ttOk, now back to business.br br b1st file:br /bPut this in one file on a CF machine.nbsp; Replace URL with the URL of the second file.br br ttlt;CFX_HTTP URL=quot;#TRIM(ATTRIBUTES.URL)#quot; AddlHeaders=quot;Cookie: COOKIEONE=1; COOKIETWO=2;quot; DEBUGgt;br br /ttb2nd file:br /bttlt;CFLOOP COLLECTION=quot;#COOKIE#quot; ITEM=quot;keyquot;gt;br x-tabnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/x-tablt;CFOUTPUTgt;#key# is #EVALUATE(quot;COOKIE.#key#quot;)#lt;/CFOUTPUTgt;lt;BRgt;br lt;/CFLOOPgt;br br /ttThanks for your help,br Jeffbr br br br br At 08:59 AM 7/24/2000 -0500, Lester, Andy wrote:br blockquote type=cite citeJeff, I haven't done anything with cookies in CFX_HTTP, so I'm not quitebr sure how passing 'em thru the AddlHeaders will work.nbsp; Can you send me yourbr test pages and I'll see if I can figure anything out.br nbsp;br The irony of BigWords.com using a Follett custom tag is not lost on me. :-)br nbsp;br Andybr br br -- br Andy Lester br [EMAIL PROTECTED] br br nbsp;br br -Original Message-br From: !jeff! [a href="mailto:[EMAIL PROTECTED]" eudora="autourl"mailto:[EMAIL PROTECTED]/a]br Sent: Friday, July 21, 2000 7:01 PMbr To: [EMAIL PROTECTED]br Subject: CFX_HTTP v.1.45 Headers question.br br br CFX_HTTP v1.45 br br Question:nbsp; I want to send cookie headers.nbsp; Unfortunately, CFX_HTTP seems tobr be sending the cookie header that CF normally sends, and ignores mybr ADDlHeaders call.nbsp; Is this the correct syntax, or am I doing somethingbr wrong?br br lt;CFX_HTTP URL=quot;#TRIM(ATTRIBUTES.URL)#quot; AddlHeaders=quot;Cookie: COOKIEONE=1quot;br DEBUGgt;br br CFX_HTTP Execution Time = 47 ms br CFX_HTTP v1.45 Copyright 1999 Follett Software Company br Created Results query. br Processed all attributes. br Timeout is set to 0 ms br Created HTTP Connection br Opened request br Added headers: [Cookie: COOKIEONE=1] br Sent request br Populated results query br Closed all sessionsbr br the page that I'm accessign simply outputs all the COOKIES it receives:br CFID is 1680br CFTOKEN is 97398246br SESSIONDTS is {ts '2000-07-20 17:30:24'}br br !j!br br The mark of mediocrity is searching for the precedent.br br !jeff! sherwoodnbsp;nbsp;nbsp;nbsp; Director of BIGWORDS.com Web Site Design / JEDIbr nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; BIGWORDS.com worker#2br .r.e.c.o.v.e.r.e.d.n.e.t.s.c.a.p.e.u.s.e.r. . . . 415.543.1400.x300br