I can think of two options, offhand:
1) Since you're already going to be storing some session
state (mapping the cookie to the temp table's name, if
nothing else), just add the last search terms to the retained
2) Instead of saving the search terms with the session info,
you could also store it with the temp table (maybe even using
the search terms as part of the table name, with appropriate
#1 is more straightforward, #2 allows you to reuse the
search results for anyone else who does that same search (such
as all the monks looking for SMITH JOHN right now). Either
way, though, you probably want to maintain this on the server
side instead of relying on the client to tell you which
set of saved search results to use, since the client can lie
to you quite easily.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
Outside of code tags, you may need to use entities for some characters:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||