17 messages in com.googlegroups.google-gadgets-apiRe: User Prefs - Any limitations?
FromSent OnAttachments
Hunor Nam28 Nov 2007 04:27 
Dan (Google Employee)28 Nov 2007 08:09 
Hunor Nam28 Nov 2007 09:23 
Matt (Guru)28 Nov 2007 09:28 
Dan (Google Employee)28 Nov 2007 09:58 
String29 Nov 2007 01:21 
Hunor Nam29 Nov 2007 03:46 
Simon30 Nov 2007 06:33 
Simon04 Dec 2007 07:29 
Bonstio (Guru)04 Dec 2007 07:57 
Matt (Guru)04 Dec 2007 08:28 
Bob3rd04 Dec 2007 08:39 
rootwoman12304 Dec 2007 09:18 
Simon10 Dec 2007 15:45 
Althea Nar'agh14 Dec 2007 05:13 
Dann (Google Employee)17 Dec 2007 10:50 
Simon17 Dec 2007 13:44 
Subject:Re: User Prefs - Any limitations?
From:Dan (Google Employee) (api.@google.com)
Date:11/28/2007 08:09:56 AM
List:com.googlegroups.google-gadgets-api

Hello,

The UserPrefs (hidden and displayed) combined cannot be more than approximately 2KB in size (it's actually a little bit less), because they get passed as part of a URL, and IE limits the length of a URL to about 2048 characters. Individual preference can be as much or as little of that size as you'd like, it's only the combined length that matters.

I hope this helps.

Best, Dan

On Nov 28, 4:28 am, "Hunor Nam" <hnam@gmail.com> wrote:

Hi Folks,

I might need to rewrite my gadgets do to the way used resources will be handled in the future. Seams as i will need to persist a lot more data then currently. For now i'm thinking about persisting that data through some hidden user prefs. So question is, what kind of (quantity) limitations are on user prefs? - ie: can i have as many prefs as i want? also how long can 1 pref string value be?