Hello Anonymous Monk , I am using Plack::Session::Store::Cache and store the string in PSGI env hash using a key. So do you recommend saving it in file for reuse ?

No. I recommend you read docs for whatever module / options you are using, so you can figure out if there are any limitations that affect you.

For whatever reason you chose the module/options you're using, so now you need to figure out if you're hitting a design limitation or a bug or if you wrote buggy code

You can use a different plack-store/cache-store/chi-store to try and diagnose where the problem lies

But at this point I can't tell whats going on. At first it sounded like you might be using Plack::Session::State::Cookie which have size limitations.

But given your new information, there are no guesses to be had, only to start looking at your code first, meaning, start dumpering data to figure out when it goes missing


In reply to Re^3: Plack session set and get method by Anonymous Monk
in thread Plack session set and get method by vvmadhavan

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.