[Ruby] Preserving State

Neil Moomey neil at motznik.com
Tue Dec 5 12:37:55 PST 2006


Thanks for the answers.  Let me give you more info so we can descide if
session is appropriate for my case.  I'm just concerned if it's overkill.  I
plan on using sessions for other things and don't want to clutter it up or
drain the server.

My application allows people to search databases with the results paging 20
results at a time foreward and backwards.

Search page example:
Enter: Address, City, State, Zip

This returns distinct addresses in alphabetical order such as:
408 N PINE ST
516 N PINE ST APT 7
532 N PINE ST
etc

They can then click on Prev or Next to go backwards or forewards or click on
the address to refine the search.  Now I do this for 24 different databases,
each with unique fields to search on.  Here is a screenshot of our current
application I designed in c# :
http://www.motznik.com/img/mo_screenshot_l.gif

Neil


More information about the Ruby mailing list