Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Antwort: How does one persist data? Re:(2)

From: coussement::c::itc::mil::be at: 11-Oct-2000 16:15

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: [coussement--c--itc--mil--be]