Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Plack session set and get method

by Anonymous Monk
on Jul 24, 2013 at 12:37 UTC ( [id://1046101]=note: print w/replies, xml ) Need Help??


in reply to Plack session set and get method

Hello, I am using Plack::Session method to store some string , but session id was changing after a big string been stored in session, what is the size limitation for such methods

What are you using? Have you read Plack::Session::Store::File and Plack::Session::Store::Cache?

Replies are listed 'Best First'.
Re^2: Plack session set and get method
by vvmadhavan (Initiate) on Jul 25, 2013 at 04:14 UTC

    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 ?

      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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1046101]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-20 04:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found