The problem is choice ;D

This is session management, I remember reading about it from merlyns stonehenge web techniques columns

You only use a sessionid (only thing in a cookie) to identify a user (merlyn calls it branding a browser) -- one firefox.exe instance

You use this sessionid to retrieve a user cache object

And then, when a user starts a new form, a new uniquely named form, he gets a unique-form-id, and you stuff it in the users-cache

Each different form has its own form name, gets its own different unique key

You can pass this form-session-id around in a hidden field

You can use an abstraction HTML::FormFu::Element::RequestToken - Hidden text field which contains a unique token

Each time a user starts a form, you give him a new one

You can ask him to continue an old one

And then, like a shopping cart, you can offer the user a glimpse into his cart/cache, he see how many forms he started, how far along he is, if he wants to continue editing a form, before final checkout/submission

Hello shopper, your form-favorite-candy-Q9ef93kdkdlkj3000 started last week is only on page 3 of 12 pages , want to continue?

The user can start many forms simultaneously, one for each browser window or tab, they're all kept separate

You can setup cron job, to periodically empty old forms, expire them, and what not ... CHI can help

I hope I've communicated the concept sufficiently

For clarification and other ideas you probably might find mod_survey and/or some shopping cart diagram possibly helpful :D

Yes I English

In reply to Re: Recommendations for client-side state management by Anonymous Monk
in thread Recommendations for client-side state management by grantm

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.