Re: [AOLSERVER] POSTing from TCL

2001-05-01 Thread macky
are using adp as initial page you can use ns_adp_parse to get html code... hope this helps... - Original Message - From: Steve Manning To: [EMAIL PROTECTED] Sent: Saturday, April 28, 2001 7:20 AM Subject: [AOLSERVER] POSTing from TCL Is it possible to create a POST method

Re: [AOLSERVER] POSTing from TCL

2001-04-29 Thread Mike Hoegeman
Boris Georgiev wrote: You forgot the attachment : Boris Georgiev - Original Message - From: Mike Hoegeman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, April 29, 2001 10:43 PM Subject: Re: [AOLSERVER] POSTing from TCL i'm not sure this will do it for you

Re: [AOLSERVER] POSTing from TCL

2001-04-29 Thread Dossy
On 2001.04.29, Steve Manning [EMAIL PROTECTED] wrote: The problem here is that the ns_returnredirect tries to use a GET method to return the value of the notes textarea which isn't very reliable. I would like to replace the ns_returnredirect in the tcl proc with a post to the adp page. If

Re: [AOLSERVER] POSTing from TCL

2001-04-29 Thread Steve Manning
Thanks Jerry, At 29/04/01 14:26, you wrote: Steve, I think what you are asking is pretty much outlawed in RFC 2616, the HTTP/1.1 specification. http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.3 (Although it also looks as though the AOLserver is not up to spec either:

Re: [AOLSERVER] POSTing from TCL

2001-04-29 Thread Steve Manning
29, 2001 10:43 PM Subject: Re: [AOLSERVER] POSTing from TCL i'm not sure this will do it for you, but here's a chunk of code that will allow you to post. look at the 'Post' proc in paticular apologies for the attachment, but i have no easy way of providing this via ftp

Re: [AOLSERVER] POSTing from TCL

2001-04-29 Thread Jim Wilcoxson
Using the Referer: header is dangerous - won't work for customers using a privacy filter. -Jim One option that you could implement would be to make the post focus go to the same page and add in a hidden form var or use referer to check if coming from a submit / POST action. At the

Re: [AOLSERVER] POSTing from TCL

2001-04-29 Thread Jerry Asher
So how do people do it? Anyone? Steve If you want to do this in a cookie-less fashion, I think you're going to have to go for a session based solution, where the session id is encoded either in the path or query string of the URI. Either should be relatively easy to support in AOLserver and

Re: [AOLSERVER] POSTing from TCL

2001-04-29 Thread Tom Jackson
Jerry, ACS (or aD) did develop an always forward solution. Here is my local copy: http://multi.zmbh.com:8500/doc/acs-templating/api/form.html Unfortunately it is so poorly documented that you end up having to read the tcl source to figure out what you can do with it. Essentially the solution

Re: [AOLSERVER] POSTing from TCL

2001-04-29 Thread Tom Jackson
Jerry Asher wrote: So is this an ACS 4 thing, or is there a way to get the functionality in a separate module? I think it was developed separately from ACS4. It does not require a database, so I think the whole thing is a tcl module. It is under /web/servername/packages/acs-templating/. I

Re: [AOLSERVER] POSTing from TCL

2001-04-27 Thread Jerry Asher
Steve Manning writes: Is it possible to create a POST method directly from a TCL procedure. I need to return data to an ADP page to repopulate a form. I think util_httppost might help. You can get that from OpenACS at sourceforge: