let imagine this app, u have a page that have lot of checkboxes & users may click 5,10 or more checkboxes randomly, & last time when user visit the page they should be able to see exactly the number checkboxed that was checked in the exact locations that they did last time. For example, user select 10 checkboxes in an url & 10 years later if they visit the same url they still can be able to see 10 checkboxed were checked at the exact positions that the user set 10 years ago. There is no way to use session or state objects in the situation like that.
Well then you have to store it into the DB. Honestly I can not imagine why you should not save it to DB as these checkbox selections seem to have a meaning important to you and you don't want to loose that selection.
When you store it in a DB then your URL would just have a (possibly encrypted) Database ID that allows you to fetch the information when you load the URL fresh.
-- J.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment