The dialog module (dialog, not dialog_ng) would be a cleaner and more
natural solution, since it handles most possible eventualities of dialog
state transition for you more cleanly than if you keep state yourself
via htable.
-- Alex
--
Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free)
Web:
http://www.evaristesys.com/,
http://www.csrpswitch.com/