Web User State Management and Serialization

J

Jonas Hartmann

Hello,

I am currently playing with RoR and I wanted to get State Management
in. If a user just shuts the browser down and starts it up again (+
logs in), there should be anything back on the screen (anything that
was there when the last response from the server arrived).

Is it a good Idea to use rubys Marshal.dump + Marshal.load [1] and
then store the dumped thing somewhere? What about performance?

A user invokes an ajax action, a response is being generated - this
happens very often - each time the "system" will mashal some instances.

Whats your thoughts about this?


[1] http://en.wikipedia.org/wiki/Serialization#Ruby
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top