Forum OpenACS Q&A: How to store values over several pages

I am having this very questionnaire, over 10 pages, really packed, which in the end results in a db insertion. What would be the OpenACS-suggested Way(tm) to handle this? I tried with the form wizard and actually implemented it pretty much that way, but for one now i have really a lot of values to pass through and for the other in step 8 the user is asked for a password and I dont feel very well with passing a password around in urls (even if it is a pass-word, it is not a pass-around-word - sorry, had to). Is there an elegant way to store this on the server in some kind of session object or so which will automatically disappear after use, like you can have it in Servlets?
Collapse
Posted by C. R. Oldham on
You could also store it in the session data using ad_get_client_property and ad_set_client_property.  See

https://openacs.org/api-doc/proc-view?proc=ad%5fget%5fclient%5fproperty

https://openacs.org/api-doc/proc-view?proc=ad%5fset%5fclient%5fproperty

Collapse
Posted by Kolja Lehmann on
I knew there was this cool proc I used once, I just couldn't remember the name of it. Thanks, that should do the trick
😊
Collapse
Posted by Jun Yamog on
Brad's patches on the wizard should have solved this.  Although I had some time putting them in.  So I disabled the cache feature of the wizard for the mean time.  Sorry.  But if you can help out please do.
Collapse
Posted by Brad Duell on
I'll get with Jun to find out what problems he's having with the caching, and then this feature of the wizard should be your answer.