after Dan G. Switzer, II mentioned here
http://groups.google.com/group/jquery-en/browse_frm/thread/cf786440e6154366/16e79411ae8b118d#16e79411ae8b118d
regarding cookies being sent with every request and the 4KB limit it
got me thinking, maybe store this on the server and make one request
for it each page load, it might make more sense then sending it
backwards and forwards all the time.

So I tried to make serverCookieJar example here
http://www.jdempster.com/wp-content/uploads/2007/08/jquery.servercookiejar.example.html
http://www.jdempster.com/wp-content/uploads/2007/08/jquery.servercookiejar.js

I'm abit unsure about the design regarding line 50 & 68 where I make a
synchronous ajax request which could tie the browser up until the
request is complete. I think I can safely remove this from the save
function. But for the load function it's important that this data is
brought down before anything else is done.

What are peoples thoughts on this?

/James

Reply via email to