session-storage

Why would you ever use asp.net's ViewState storage object over the Session storage object?

Other than because session storage is session-global to more than one page, why would you ever want to use the viewstate to hold values? It seems kind of ridiculous to send any kind of information other than a few small query string like values, back and forth from the client to server. I mean what a waste of bandwidth(!), simply for s...

How Can I switch the session storage according to the client on Ruby on Rails 2.3.5

Hi! I have a question about sessions on ruby-on-rails. We have a several options about session storage such as cookie, active_record_store, etc.. I primarily use the cookie storage, but, there are some client which doesn't support cookie function. In that case, I have to make that client to use the "active_record_store". My rails versi...

Different types of browser storage

From this slideshow http://slides.html5rocks.com/#slide8 and from Chrome: View > Developer > Developer Tools > Storage tab, I learned that there are at least 4 types of browser storage: Databases, Local Storage, Session Storage, Cookies (are there more?) What are the differences? When should I use one over the other? For example, if a...