What is the best way to access form variables (i.e., variables submitted
using html form) in adp pages?
There is code I am using now but not sure I am understand everything what
there happens.


proc fetch_variables { } {         # fetch all variables from forms and
fancy urls
        uplevel {
        set form [ns_getform]
        set form_size [ns_set size $form]
        set form_counter_i 0
        while {$form_counter_i<$form_size} {
            set [ns_set key $form $form_counter_i] [ns_set value $form
$form_counter_i]
            incr form_counter_i
        }
     }
}

Reply via email to