Web User State Management and Serialization

Discussion in 'Ruby' started by Jonas Hartmann, Oct 2, 2006.

  1. 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
     
    Jonas Hartmann, Oct 2, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UHJhdmVlbg==?=

    State management in user control across the pages

    =?Utf-8?B?UHJhdmVlbg==?=, Oct 14, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    355
    =?Utf-8?B?U2NvdHQgU2ltb25z?=
    Oct 14, 2004
  2. Replies:
    8
    Views:
    2,273
    deadsea
    Jan 2, 2005
  3. Replies:
    3
    Views:
    1,056
  4. Dimitri Ognibene
    Replies:
    4
    Views:
    797
    Dimitri Ognibene
    Sep 2, 2006
  5. Ramunas Urbonas
    Replies:
    1
    Views:
    412
    Dino Chiesa [Microsoft]
    Jul 27, 2004
Loading...

Share This Page