Those solution works find but it can become buggy to manage the files
(location, versions, ...)

The solution I used with precisely the same problem you mentionned is to use
the form hidden field element to pass the global vars.

My first HTMLpage calls a REBOL-cgi script, passing some args this script
uses to generate another page which in turn contains a form with some hidden
field containing the global data.

"<form action='http://127.0.0.1/cat_task_manager.r'>"
        "<input name='id' type='hidden' value='0'>"
        "<input name='RLI' type='hidden' value='F'>"
        "<input name='test' type='hidden' value='0'>"
        "<input name='question' type='hidden' value='1'>"
        "<input name='navigation' type='hidden' value='next'>"
        "<input name='answer' type='hidden' value='next'>"
        "<input type='submit' value='  >>  ' class='longbutton'>"
"</form>"

You can so pass your args through your app, and call them when you need
it...

I hope it will work for you ! Do not hesitate to ask I there is any problem.

C. COUSSEMENT 
 e-mail:  [EMAIL PROTECTED] 
 


 


> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: woensdag 11 oktober 2000 10:52
> To:   [EMAIL PROTECTED]
> Subject:      [REBOL] Antwort:  How does one persist data? Re:
> 
> 
> Thanks Andrew, IŽll try that out.
> 
> Sharriff Aina
> med.iq information & quality in healthcare AG
> 
> 
> 
>  
> 
>                     [EMAIL PROTECTED]
> 
>                     o.nz                 An:     [EMAIL PROTECTED]
> 
>                                          Kopie:
> 
>                     11.10.00             Thema:  [REBOL] How does one
> persist data? Re:                       
>                     10:09
> 
>                     Bitte
> 
>                     antworten an
> 
>                     list
> 
>  
> 
>  
> 
> 
> 
> 
> 
> Sharriff wrote:
> > Does anyone have a solution of persisting data across HTML pages? I want
> data submitted through a CGI from a HTML form to be usable in other pages.
> 
> Why not have a Rebol cgi script that outputs the HTML form, another one
> that
> responds to the form and then writes the information as a file, then
> another
> one that reads the file and writes the information as html again? Or,
> failing that, have the Rebol script on the site FTP the data to the site?
> 
> I hope that helps somewhat.
> 
> Andrew Martin
> ICQ: 26227169
> http://members.nbci.com/AndrewMartin/
> -><-
> 
> 
> 
> 

Reply via email to