PDA

View Full Version : ExtJs Cookie provider. How many entries I can create with cookie provider?



Andrew.Golik
16 Oct 2010, 12:28 PM
ExtJs Cookie provider. How many entries I can create with cookie provider?
Is there any browser limits that effect ext cookie provider?

Animal
17 Oct 2010, 12:15 AM
http://wiki.answers.com/Q/What_is_the_maximum_size_of_a_cookie_file

Remember they are sent to the server with every request. Bear in mind security vulnerabilities: http://en.wikipedia.org/wiki/HTTP_cookie#Drawbacks_of_cookies

Andrew.Golik
17 Oct 2010, 10:03 AM
So does it means that I can have only 20 entries? Or there are may be special mechanics behind cookie provider?
I mean that it can be hash table structure so that in reality it's one cookie that acts as hash table limited by 4 KB.

In my application there will be more then 20 entries where most of them boolean values and probably they will never overwhelm
4 KB.

Should I use Cookie provider?

thanks in advance

Animal
17 Oct 2010, 12:15 PM
That will be 4KB in total. Remember that it will be URLencoded, eg %20 for space.

Maybe better use some other provider. There's an HttpProvider UX (I haven't looked at it - you'd have to provide a server side for it to talk to)

Andrew.Golik
18 Oct 2010, 5:26 AM
thanks