Storing information in the DOM?
        Posted  
        
            by John
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by John
        
        
        
        Published on 2010-05-12T15:52:23Z
        Indexed on 
            2010/05/12
            16:34 UTC
        
        
        Read the original article
        Hit count: 198
        
Im making a small private message application in the form of a phone. Ten messages are shown at the time. And the list of messages are scrolled up/down by hiding them.
Just how bad is it to use the DOM to store information in this way. My main goal for doing this is to reduce calls to the database. And instead of making a new call all the time, it only checks if any new messages has arrived and ads the new message(s).
Whats the alternative, cookies anyone?
Thank you for the time
© Stack Overflow or respective owner