do httpheaders and httpproxy reset after handler ends?
Hello Friends, a quick question, anyone knows how persistent is httpproxy and httpheaders? I want to know if I need to set them everytime or if setting them on openstack will be enough for all subsequent URL calls. Thanks PS: Yes, I could sniff that with wireshark, but I felt like asking... Andre -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: do httpheaders and httpproxy reset after handler ends?
I'm pretty sure they are persistent. At lease I remember only setting them once. On Fri, Jul 18, 2008 at 3:25 PM, Andre Garzia <[EMAIL PROTECTED]> wrote: > Hello Friends, > > a quick question, anyone knows how persistent is httpproxy and > httpheaders? I want to know if I need to set them everytime or if > setting them on openstack will be enough for all subsequent URL calls. > > Thanks > PS: Yes, I could sniff that with wireshark, but I felt like asking... > Andre > > -- > http://www.andregarzia.com All We Do Is Code. > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: do httpheaders and httpproxy reset after handler ends?
Andre, I don't have idea about what is the best with the httpproxy part of your question. About the httpheaders, in my experience (both MC and Rev http clients), it's always a good precaution to set the httpheaders again before each new occurence of a POST command. See this transcript-based pgdump trigger function (PostgreSQL database backup) as a for years running production state example : function newdbpgdump d,p put "&tdSQL=" & urlencode(reagenc(p)) into larequete put "doSQL=632&toTDB=" & d & larequete & "&IDC=" & encefv1("pierres") & "&VAL=" & encefv1("roussilles") into retour set httpheaders to "Content-type: application/x-www-form- urlencoded" & return post retour to url (line 1 of fld "revwas") if it is "" then answer "La connexion avec le serveur distant est rompue." & return & return & \ "Vérifiez votre configuration d'accès à l'internet" exit to top else return word 1 to -1 of it & return & return end newdbpgdump Hope this can help, Best, -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com Le 18 juil. 08 à 22:25, Andre Garzia a écrit : Hello Friends, a quick question, anyone knows how persistent is httpproxy and httpheaders? I want to know if I need to set them everytime or if setting them on openstack will be enough for all subsequent URL calls. Thanks PS: Yes, I could sniff that with wireshark, but I felt like asking... Andre -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: do httpheaders and httpproxy reset after handler ends?
Chipp and Pierre, thank you guys! So far they are persistent, no post requests in that application, only couple GETs... Thanks for the help! Andre On Fri, Jul 18, 2008 at 6:52 PM, Pierre Sahores <[EMAIL PROTECTED]> wrote: > Andre, > > I don't have idea about what is the best with the httpproxy part of your > question. > > About the httpheaders, in my experience (both MC and Rev http clients), it's > always a good precaution to set the httpheaders again before each new > occurence of a POST command. > > See this transcript-based pgdump trigger function (PostgreSQL database > backup) as a for years running production state example : > > function newdbpgdump d,p > put "&tdSQL=" & urlencode(reagenc(p)) into larequete > put "doSQL=632&toTDB=" & d & larequete & "&IDC=" & encefv1("pierres") & > "&VAL=" & encefv1("roussilles") into retour > set httpheaders to "Content-type: application/x-www-form-urlencoded" & > return > post retour to url (line 1 of fld "revwas") > if it is "" then >answer "La connexion avec le serveur distant est rompue." & return & > return & \ >"Vérifiez votre configuration d'accès à l'internet" >exit to top > else return word 1 to -1 of it & return & return > end newdbpgdump > > Hope this can help, > > Best, > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > Le 18 juil. 08 à 22:25, Andre Garzia a écrit : > >> Hello Friends, >> >> a quick question, anyone knows how persistent is httpproxy and >> httpheaders? I want to know if I need to set them everytime or if >> setting them on openstack will be enough for all subsequent URL calls. >> >> Thanks >> PS: Yes, I could sniff that with wireshark, but I felt like asking... >> Andre >> >> -- >> http://www.andregarzia.com All We Do Is Code. >> ___ >> use-revolution mailing list >> use-revolution@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: do httpheaders and httpproxy reset after handler ends?
My limited experience is that the browser name space on the client computer retains the headers and variables until the user does something like a refresh that would update the header data. This would be the case with either the GET or POST methods. Also, using tags might not work as expected due to scope issues if your 'page' is inside those tags. Jim Ault Las Vegas PS Andre, I sent you an email directly about 12 hours ago and it could be that it did not get to you. Let me know. On 7/18/08 4:58 PM, "Andre Garzia" <[EMAIL PROTECTED]> wrote: > Chipp and Pierre, > > thank you guys! So far they are persistent, no post requests in that > application, only couple GETs... > > Thanks for the help! > Andre > > On Fri, Jul 18, 2008 at 6:52 PM, Pierre Sahores <[EMAIL PROTECTED]> wrote: >> Andre, >> >> I don't have idea about what is the best with the httpproxy part of your >> question. >> >> About the httpheaders, in my experience (both MC and Rev http clients), it's >> always a good precaution to set the httpheaders again before each new >> occurence of a POST command. >> >> See this transcript-based pgdump trigger function (PostgreSQL database >> backup) as a for years running production state example : >> >> function newdbpgdump d,p >> put "&tdSQL=" & urlencode(reagenc(p)) into larequete >> put "doSQL=632&toTDB=" & d & larequete & "&IDC=" & encefv1("pierres") & >> "&VAL=" & encefv1("roussilles") into retour >> set httpheaders to "Content-type: application/x-www-form-urlencoded" & >> return >> post retour to url (line 1 of fld "revwas") >> if it is "" then >>answer "La connexion avec le serveur distant est rompue." & return & >> return & \ >>"Vérifiez votre configuration d'accès à l'internet" >>exit to top >> else return word 1 to -1 of it & return & return >> end newdbpgdump >> >> Hope this can help, >> >> Best, >> -- >> Pierre Sahores >> mobile : 06 03 95 77 70 >> www.sahores-conseil.com >> >> >> Le 18 juil. 08 à 22:25, Andre Garzia a écrit : >> >>> Hello Friends, >>> >>> a quick question, anyone knows how persistent is httpproxy and >>> httpheaders? I want to know if I need to set them everytime or if >>> setting them on openstack will be enough for all subsequent URL calls. >>> >>> Thanks >>> PS: Yes, I could sniff that with wireshark, but I felt like asking... >>> Andre >>> >>> -- >>> http://www.andregarzia.com All We Do Is Code. >>> ___ >>> use-revolution mailing list >>> use-revolution@lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> >> ___ >> use-revolution mailing list >> use-revolution@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution