Forum OpenACS Development: Re: Symbolic names instead of return_url

Collapse
Posted by Andrew Piskorski on
Don, you mean the ad get and set client_property procs?
Collapse
Posted by Joel Aufrecht on
Would somebody mind explaining how to use session variables for return_url and other properties?  I offer vocab::conn as probably an example of the Wrong Way.  It looks for passed-in variables, then checks cookies, then tries to get default values.  Could it also handle return_url so that I could simply use it in any page that called vocab::conn, without putting it in the page contract?

http://cvs.openacs.org/cvs/openacs-4/contrib/packages/vocabulary/tcl/util-procs.tcl?view=auto&rev=1.2