i would love to be able to store the information in a DB. unfortunately, i'd have more luck curing cancer than i would getting access to our DBs from the systems guys. however, the TOS of the app i'm building this for requires users to accept cookies, as we use them for other authentication purposes. so that's not an issue. plus, my superiors prefer things done fast rather than done right, so i'm ok w/ quick and dirty.
On Jul 2, 5:20 pm, Tom Gregory <[EMAIL PROTECTED]> wrote: > Are you sure you want to store it in cookies, and not something more > durable? In addition to the obvious issues of users rejecting/ > deleting cookies, you're limited to 20 per domain, an upper size > limit of each cookie (4K), and the browser may limit the total number > of cookies allowed across all sites. If storing the position is > important, you may wish to put it in a db via Ajax calls. > > Check the docs for functions to get an element's position. > > TAG > > On Jul 2, 2007, at 3:10 PM, [EMAIL PROTECTED] wrote: > > > > > problem: i have a page full of divs (a la iGoogle) that are movable. i > > need to be able to save the page layout pref. in cookies when the user > > leaves the page, so the divs will appear in the same configuration > > when they user comes back. so far my searches have been fruitless. > > > i'm using sortables in script.aculo.us, and i think what i need might > > already be in the code someplace. but i'm a total n00b, so if anyone > > can point me in the right direction, i'd be much abliged. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
